Skip to content

Commit

Permalink
driver test timeout is probably too short (#6616)
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco authored Sep 20, 2024
1 parent 6b2c2c6 commit 0546431
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nexus/src/app/background/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,9 @@ mod test {
let duration = start.elapsed();
println!("rx1 -> 3 took {:?}", duration);
assert!(
duration.as_millis() < 1000,
"took longer than 1s to activate our every-100ms-task three times"
duration.as_millis() < 1250,
"took longer than 1.25s to activate our \
every-100ms-task three times"
);
assert!(duration.as_millis() >= 300);
// Check how the last activation was reported.
Expand Down

0 comments on commit 0546431

Please sign in to comment.