mirror of https://github.com/fafhrd91/actix-net
Add back 500ms delay for test_listen
This commit is contained in:
parent
9a3e4818b4
commit
5016ee5b31
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue