Skip to content

Commit f9e1d3b

Browse files
authored
Rollup merge of rust-lang#67308 - dtolnay:fast_rebind, r=alexcrichton
Delete flaky test net::tcp::tests::fast_rebind This test is unreliable for at least 3 users on two platforms: see rust-lang#57509 and rust-lang#51006. It was added 5 years ago in rust-lang#22015. Do we know whether this is testing something important that would indicate a bug in our implementation, or if it's fine to remove? r? @sfackler @alexcrichton because this somewhat resembles rust-lang#59018 Closes rust-lang#57509. Closes rust-lang#51006.
2 parents 62ff55c + 2514cd5 commit f9e1d3b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/libstd/net/tcp.rs

-15
Original file line numberDiff line numberDiff line change
@@ -1312,21 +1312,6 @@ mod tests {
13121312
})
13131313
}
13141314

1315-
#[test]
1316-
fn fast_rebind() {
1317-
each_ip(&mut |addr| {
1318-
let acceptor = t!(TcpListener::bind(&addr));
1319-
1320-
let _t = thread::spawn(move || {
1321-
t!(TcpStream::connect(&addr));
1322-
});
1323-
1324-
t!(acceptor.accept());
1325-
drop(acceptor);
1326-
t!(TcpListener::bind(&addr));
1327-
});
1328-
}
1329-
13301315
#[test]
13311316
fn tcp_clone_smoke() {
13321317
each_ip(&mut |addr| {

0 commit comments

Comments
 (0)