mirror of https://github.com/fafhrd91/actix-net
Add back 500ms delay for test_bind
This commit is contained in:
parent
5016ee5b31
commit
62c971e5aa
|
@ -38,6 +38,8 @@ fn test_bind() {
|
||||||
|
|
||||||
let srv = rx.recv().unwrap();
|
let srv = rx.recv().unwrap();
|
||||||
|
|
||||||
|
thread::sleep(Duration::from_millis(500));
|
||||||
|
|
||||||
net::TcpStream::connect(addr).unwrap();
|
net::TcpStream::connect(addr).unwrap();
|
||||||
|
|
||||||
let _ = srv.stop(true);
|
let _ = srv.stop(true);
|
||||||
|
|
Loading…
Reference in New Issue