Add back 500ms delay for test_listen

This commit is contained in:
fakeshadow 2021-04-30 22:20:41 +08:00
parent 9a3e4818b4
commit 5016ee5b31
1 changed files with 2 additions and 0 deletions

View File

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