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

pull/48/head
inv2004 7 years ago
parent c6770e95be
commit d91a2d49f2

@ -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