Skip to content

Commit

Permalink
Looks like the virtual-net tests don't work on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Dec 8, 2023
1 parent bbe7246 commit f163071
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/virtual-net/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ async fn test_tcp(client: RemoteNetworkingClient, _server: RemoteNetworkingServe
}

#[cfg(feature = "remote")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_mpsc() {
Expand All @@ -131,6 +132,7 @@ async fn test_tcp_with_mpsc() {
}

#[cfg(feature = "remote")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_small_pipe_using_bincode() {
Expand All @@ -139,6 +141,7 @@ async fn test_tcp_with_small_pipe_using_bincode() {
}

#[cfg(feature = "remote")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_large_pipe_using_bincode() {
Expand All @@ -148,6 +151,7 @@ async fn test_tcp_with_large_pipe_using_bincode() {

#[cfg(feature = "remote")]
#[cfg(feature = "json")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_small_pipe_using_json() {
Expand All @@ -157,6 +161,7 @@ async fn test_tcp_with_small_pipe_using_json() {

#[cfg(feature = "remote")]
#[cfg(feature = "json")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_large_pipe_json_using_json() {
Expand All @@ -166,6 +171,7 @@ async fn test_tcp_with_large_pipe_json_using_json() {

#[cfg(feature = "remote")]
#[cfg(feature = "messagepack")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_small_pipe_using_messagepack() {
Expand All @@ -175,6 +181,7 @@ async fn test_tcp_with_small_pipe_using_messagepack() {

#[cfg(feature = "remote")]
#[cfg(feature = "messagepack")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_large_pipe_json_using_messagepack() {
Expand All @@ -184,6 +191,7 @@ async fn test_tcp_with_large_pipe_json_using_messagepack() {

#[cfg(feature = "remote")]
#[cfg(feature = "cbor")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_small_pipe_using_cbor() {
Expand All @@ -193,13 +201,15 @@ async fn test_tcp_with_small_pipe_using_cbor() {

#[cfg(feature = "remote")]
#[cfg(feature = "cbor")]
#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test(flavor = "multi_thread")]
async fn test_tcp_with_large_pipe_json_using_cbor() {
let (client, server) = setup_pipe(1024000, FrameSerializationFormat::Cbor).await;
test_tcp(client, server).await
}

#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test]
async fn test_google_poll() {
Expand Down Expand Up @@ -290,6 +300,7 @@ async fn test_google_poll() {
tracing::info!("done");
}

#[cfg_attr(windows, ignore)]
#[traced_test]
#[tokio::test]
async fn test_google_epoll() {
Expand Down

0 comments on commit f163071

Please sign in to comment.