mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +01:00
increase sleep time
This commit is contained in:
parent
127af92541
commit
84edc57fd9
@ -393,6 +393,6 @@ fn test_ws_stopped() {
|
|||||||
assert_eq!(item, Some(ws::Message::Text("text".to_owned())));
|
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);
|
assert_eq!(num.load(Ordering::Relaxed), 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user