mirror of
https://github.com/actix/actix-web.git
synced 2024-10-03 08:41:55 +00:00
sleep for test
This commit is contained in:
parent
3b2928a391
commit
bebfc6c9b5
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ fn test_shutdown() {
|
||||||
assert!(response.status().is_success());
|
assert!(response.status().is_success());
|
||||||
}
|
}
|
||||||
|
|
||||||
thread::sleep(time::Duration::from_millis(100));
|
thread::sleep(time::Duration::from_millis(1000));
|
||||||
assert!(net::TcpStream::connect(addr).is_err());
|
assert!(net::TcpStream::connect(addr).is_err());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue