Skip to content

Commit

Permalink
fix one test case
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Oct 25, 2021
1 parent 1922498 commit d7c248e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ cfg_sync! {
sleep(Duration::from_millis(100));
let _ = stop_tx.send(());
c.clear().unwrap();
sleep(Duration::from_millis(100));
c.wait().unwrap();
assert_eq!(c.metrics.get_keys_added(), Some(0));

(0..10).for_each(|i| {
Expand Down

0 comments on commit d7c248e

Please sign in to comment.