Skip to content

Commit c4f1d2b

Browse files
authored
Increase cache_lock test timeout (#16545)
We've been seeing occasional failures on CI with these tests timing out. I'm guessing that the runners are too overloaded and are unable to complete the test within 1 second. This bumps up the timeout to 10s to see if that will resolve the problem.
2 parents 29b2a54 + b314edf commit c4f1d2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/testsuite/cache_lock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::config::GlobalContextBuilder;
1212
/// Helper to verify that it is OK to acquire the given lock (it shouldn't block).
1313
fn verify_lock_is_ok(mode: CacheLockMode) {
1414
let root = paths::root();
15-
threaded_timeout(10, move || {
15+
threaded_timeout(100, move || {
1616
let gctx = GlobalContextBuilder::new().root(root).build();
1717
let locker = CacheLocker::new();
1818
// This would block if it is held.

0 commit comments

Comments
 (0)