mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-01 13:01:51 +02:00
increase sleep time
This commit is contained in:
@@ -393,6 +393,6 @@ fn test_ws_stopped() {
|
||||
assert_eq!(item, Some(ws::Message::Text("text".to_owned())));
|
||||
});
|
||||
|
||||
thread::sleep(time::Duration::from_secs(1));
|
||||
thread::sleep(time::Duration::from_secs(3));
|
||||
assert_eq!(num.load(Ordering::Relaxed), 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user