diff options
| author | bors <bors@rust-lang.org> | 2013-10-27 18:41:25 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-27 18:41:25 -0700 |
| commit | a1200118271ae6f14847baa93d0bfc1d7750b3bb (patch) | |
| tree | bf2ac1f8ffd8017cfb24788627ca59220e5a7862 /src/libstd | |
| parent | 16b8a41531bb0054f05be7a19e0867b8174c83b1 (diff) | |
| parent | 8455ad898cc20106251ddbff61e874abfcf95cbb (diff) | |
| download | rust-a1200118271ae6f14847baa93d0bfc1d7750b3bb.tar.gz rust-a1200118271ae6f14847baa93d0bfc1d7750b3bb.zip | |
auto merge of #10098 : alexcrichton/rust/attempts, r=alexcrichton
It was pretty much a miracle that these tests were ever passing. They would never have passed in the single threaded case because only one sigint in the tests is ever generated, but when run in parallel two sigints will be generated.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/rt/io/signal.rs | 2 | ||||
| -rw-r--r-- | src/libstd/rt/uv/uvio.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/rt/io/signal.rs b/src/libstd/rt/io/signal.rs index a13fc19d000..d2266c8d5d6 100644 --- a/src/libstd/rt/io/signal.rs +++ b/src/libstd/rt/io/signal.rs @@ -183,7 +183,7 @@ mod test { Interrupt => (), s => fail!("Expected Interrupt, got {:?}", s), } - match s1.port.recv() { + match s2.port.recv() { Interrupt => (), s => fail!("Expected Interrupt, got {:?}", s), } diff --git a/src/libstd/rt/uv/uvio.rs b/src/libstd/rt/uv/uvio.rs index dc202ecc174..e0707a86f7b 100644 --- a/src/libstd/rt/uv/uvio.rs +++ b/src/libstd/rt/uv/uvio.rs @@ -2306,6 +2306,7 @@ fn test_read_read_read() { } #[test] +#[ignore(cfg(windows))] // FIXME(#10102) the server never sees the second send fn test_udp_twice() { do run_in_mt_newsched_task { let server_addr = next_test_ip4(); |
