mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 09:59:21 +02:00
sleep for test
This commit is contained in:
@ -121,7 +121,7 @@ fn test_shutdown() {
|
||||
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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user