mirror of https://github.com/fafhrd91/actix-net
increase allowance for slow thread de-spawns
This commit is contained in:
parent
fb6e7f0eec
commit
03a46f3e28
|
@ -217,8 +217,8 @@ fn system_stop_stops_arbiters() {
|
|||
System::current().stop();
|
||||
sys.run().unwrap();
|
||||
|
||||
// account for slightly slow thread de-spawns (only observed on windows)
|
||||
thread::sleep(Duration::from_millis(100));
|
||||
// account for slightly slow thread de-spawns
|
||||
thread::sleep(Duration::from_millis(500));
|
||||
|
||||
// arbiter should be dead and return false
|
||||
assert!(!Arbiter::current().spawn_fn(|| {}));
|
||||
|
|
Loading…
Reference in New Issue