From 64d2501b54e6298d2dbcf80601ead36dabd684d5 Mon Sep 17 00:00:00 2001 From: inv2004 Date: Fri, 9 Nov 2018 03:11:38 -0500 Subject: [PATCH] timeout after thread::spawn is increased (more stable result). --- tests/change_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/change_stream.rs b/tests/change_stream.rs index 188e55b..0dc84dd 100644 --- a/tests/change_stream.rs +++ b/tests/change_stream.rs @@ -31,7 +31,7 @@ fn test_change_stream() { counter }); - thread::sleep(Duration::from_millis(1)); + thread::sleep(Duration::from_millis(100)); for i in 0..15 { collection.insert(&doc! {"c": i}, None).unwrap();