1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-18 22:26:37 +00:00

increase sleep time

This commit is contained in:
Nikolay Kim 2018-10-01 21:19:27 -07:00
parent 127af92541
commit 84edc57fd9

View file

@ -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);
}