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 20, 2024
1 parent d3f02cb commit ad55c1b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 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 @@ -196,6 +205,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 ad55c1b

Please sign in to comment.