fix: widen the ref-watch test wakeup timeout to 20s
commit
b34811efix: widen the ref-watch test wakeup timeout to 20s
The poller ticks every 500ms, so 5s should be ample, but a loaded Windows CI runner occasionally misses that window and flakes the test.
Assisted-by: Claude:claude-sonnet-5
Reviews
No reviews of this commit yet — record a verdict below.
Start a review
crates/refstore-files/src/lib.rs
@@ -397,7 +397,7 @@
.unwrap();
assert!(
watcher
- .recv_timeout(std::time::Duration::from_secs(5))
+ .recv_timeout(std::time::Duration::from_secs(20))
.is_some(),
"expected a wakeup hint after a ref change"
);