Skip to content

Commit 2a4faf6

Browse files
committed
increase timeout to avoid spurious test failures
1 parent 08ab8ce commit 2a4faf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/concurrency/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn check_conditional_variables_timed_wait_notimeout() {
109109
cvar.notify_one();
110110
});
111111

112-
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(200)).unwrap();
112+
let (_guard, timeout) = cvar.wait_timeout(guard, Duration::from_millis(500)).unwrap();
113113
assert!(!timeout.timed_out());
114114
handle.join().unwrap();
115115
}

0 commit comments

Comments
 (0)