Skip to content

Commit

Permalink
CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zakstucke committed Aug 12, 2024
1 parent d4d5780 commit 14d146e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/bitbazaar/misc/setup_once.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ mod tests {
let elapsed = Instant::now();
futures::future::try_join_all(futs).await?;
let elapsed_millis = elapsed.elapsed().as_millis();
assert!(elapsed_millis > 100);
assert!(elapsed_millis < 150);
assert!(elapsed_millis >= 100, "elapsed_millis: {}", elapsed_millis);
assert!(elapsed_millis < 200, "elapsed_millis: {}", elapsed_millis);
assert_eq!(
setup_num_calls.load(std::sync::atomic::Ordering::Relaxed),
1
Expand Down

0 comments on commit 14d146e

Please sign in to comment.