Delete flaky test net::tcp::tests::fast_rebind
This commit is contained in:
parent
6f829840f7
commit
2514cd555b
@ -1312,21 +1312,6 @@ mod tests {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn fast_rebind() {
|
|
||||||
each_ip(&mut |addr| {
|
|
||||||
let acceptor = t!(TcpListener::bind(&addr));
|
|
||||||
|
|
||||||
let _t = thread::spawn(move || {
|
|
||||||
t!(TcpStream::connect(&addr));
|
|
||||||
});
|
|
||||||
|
|
||||||
t!(acceptor.accept());
|
|
||||||
drop(acceptor);
|
|
||||||
t!(TcpListener::bind(&addr));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn tcp_clone_smoke() {
|
fn tcp_clone_smoke() {
|
||||||
each_ip(&mut |addr| {
|
each_ip(&mut |addr| {
|
||||||
|
Loading…
Reference in New Issue
Block a user