timeout after thread::spawn is increased (more stable result).

pull/48/head
inv2004 7 years ago
parent ba4979e9cb
commit 64d2501b54

@ -31,7 +31,7 @@ fn test_change_stream() {
counter counter
}); });
thread::sleep(Duration::from_millis(1)); thread::sleep(Duration::from_millis(100));
for i in 0..15 { for i in 0..15 {
collection.insert(&doc! {"c": i}, None).unwrap(); collection.insert(&doc! {"c": i}, None).unwrap();

Loading…
Cancel
Save