Add back 500ms delay for test_bind

This commit is contained in:
fakeshadow 2021-04-30 22:24:51 +08:00
parent 5016ee5b31
commit 62c971e5aa
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ fn test_bind() {
let srv = rx.recv().unwrap();
thread::sleep(Duration::from_millis(500));
net::TcpStream::connect(addr).unwrap();
let _ = srv.stop(true);