Skip to content

Commit f163071

Browse files
author
Michael-F-Bryan
committed
Looks like the virtual-net tests don't work on Windows
1 parent bbe7246 commit f163071

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/virtual-net/src/tests.rs

+11
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ async fn test_tcp(client: RemoteNetworkingClient, _server: RemoteNetworkingServe
123123
}
124124

125125
#[cfg(feature = "remote")]
126+
#[cfg_attr(windows, ignore)]
126127
#[traced_test]
127128
#[tokio::test(flavor = "multi_thread")]
128129
async fn test_tcp_with_mpsc() {
@@ -131,6 +132,7 @@ async fn test_tcp_with_mpsc() {
131132
}
132133

133134
#[cfg(feature = "remote")]
135+
#[cfg_attr(windows, ignore)]
134136
#[traced_test]
135137
#[tokio::test(flavor = "multi_thread")]
136138
async fn test_tcp_with_small_pipe_using_bincode() {
@@ -139,6 +141,7 @@ async fn test_tcp_with_small_pipe_using_bincode() {
139141
}
140142

141143
#[cfg(feature = "remote")]
144+
#[cfg_attr(windows, ignore)]
142145
#[traced_test]
143146
#[tokio::test(flavor = "multi_thread")]
144147
async fn test_tcp_with_large_pipe_using_bincode() {
@@ -148,6 +151,7 @@ async fn test_tcp_with_large_pipe_using_bincode() {
148151

149152
#[cfg(feature = "remote")]
150153
#[cfg(feature = "json")]
154+
#[cfg_attr(windows, ignore)]
151155
#[traced_test]
152156
#[tokio::test(flavor = "multi_thread")]
153157
async fn test_tcp_with_small_pipe_using_json() {
@@ -157,6 +161,7 @@ async fn test_tcp_with_small_pipe_using_json() {
157161

158162
#[cfg(feature = "remote")]
159163
#[cfg(feature = "json")]
164+
#[cfg_attr(windows, ignore)]
160165
#[traced_test]
161166
#[tokio::test(flavor = "multi_thread")]
162167
async fn test_tcp_with_large_pipe_json_using_json() {
@@ -166,6 +171,7 @@ async fn test_tcp_with_large_pipe_json_using_json() {
166171

167172
#[cfg(feature = "remote")]
168173
#[cfg(feature = "messagepack")]
174+
#[cfg_attr(windows, ignore)]
169175
#[traced_test]
170176
#[tokio::test(flavor = "multi_thread")]
171177
async fn test_tcp_with_small_pipe_using_messagepack() {
@@ -175,6 +181,7 @@ async fn test_tcp_with_small_pipe_using_messagepack() {
175181

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

185192
#[cfg(feature = "remote")]
186193
#[cfg(feature = "cbor")]
194+
#[cfg_attr(windows, ignore)]
187195
#[traced_test]
188196
#[tokio::test(flavor = "multi_thread")]
189197
async fn test_tcp_with_small_pipe_using_cbor() {
@@ -193,13 +201,15 @@ async fn test_tcp_with_small_pipe_using_cbor() {
193201

194202
#[cfg(feature = "remote")]
195203
#[cfg(feature = "cbor")]
204+
#[cfg_attr(windows, ignore)]
196205
#[traced_test]
197206
#[tokio::test(flavor = "multi_thread")]
198207
async fn test_tcp_with_large_pipe_json_using_cbor() {
199208
let (client, server) = setup_pipe(1024000, FrameSerializationFormat::Cbor).await;
200209
test_tcp(client, server).await
201210
}
202211

212+
#[cfg_attr(windows, ignore)]
203213
#[traced_test]
204214
#[tokio::test]
205215
async fn test_google_poll() {
@@ -290,6 +300,7 @@ async fn test_google_poll() {
290300
tracing::info!("done");
291301
}
292302

303+
#[cfg_attr(windows, ignore)]
293304
#[traced_test]
294305
#[tokio::test]
295306
async fn test_google_epoll() {

0 commit comments

Comments
 (0)