Skip to content

Commit

Permalink
Ignore failing http registry tests
Browse files Browse the repository at this point in the history
  • Loading branch information
maciektr committed Nov 20, 2023
1 parent e07adbd commit fa3b3b6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scarb/tests/http_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ use scarb_test_support::project_builder::{Dep, DepBuilder, ProjectBuilder};
use scarb_test_support::registry::http::HttpRegistry;

#[test]
#[cfg_attr(
not(target_family = "unix"),
ignore = "registry test failing on windows"
)]
fn usage() {
let mut registry = HttpRegistry::serve();
registry.publish(|t| {
Expand Down Expand Up @@ -190,6 +194,10 @@ fn missing_config_json() {
}

#[test]
#[cfg_attr(
not(target_family = "unix"),
ignore = "registry test failing on windows"
)]
fn caching() {
let cache_dir = TempDir::new().unwrap();

Expand Down
4 changes: 4 additions & 0 deletions scarb/tests/local_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ use scarb_test_support::project_builder::{Dep, DepBuilder, ProjectBuilder};
use scarb_test_support::registry::local::LocalRegistry;

#[test]
#[cfg_attr(
not(target_family = "unix"),
ignore = "registry test failing on windows"
)]
fn usage() {
let mut registry = LocalRegistry::create();
registry.publish(|t| {
Expand Down
4 changes: 4 additions & 0 deletions scarb/tests/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,10 @@ fn reserved_files_collision() {
}

#[test]
#[cfg_attr(
not(target_family = "unix"),
ignore = "registry test failing on windows"
)]
fn generated_manifest() {
let t = TempDir::new().unwrap();

Expand Down
4 changes: 4 additions & 0 deletions scarb/tests/registry_checksums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ use scarb_test_support::project_builder::{Dep, DepBuilder, ProjectBuilder};
use scarb_test_support::registry::local::LocalRegistry;

#[test]
#[cfg_attr(
not(target_family = "unix"),
ignore = "registry test failing on windows"
)]
fn checksum_mismatch() {
let mut registry = LocalRegistry::create();
registry.publish(|t| {
Expand Down

0 comments on commit fa3b3b6

Please sign in to comment.