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.
This commit is contained in:
commit
a120011827
@ -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),
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user