Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed May 21, 2024
1 parent 182c7df commit 922bf2a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions limitador/src/storage/redis/redis_cached.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,14 +511,8 @@ mod tests {
assert_eq!(c.hits(&counter), 2);
}

flush_batcher_and_update_counters(
mock_client,
true,
cached_counters.clone(),
partitioned,
100,
)
.await;
flush_batcher_and_update_counters(mock_client, cached_counters.clone(), partitioned, 100)
.await;

if let Some(c) = cached_counters.get(&counter) {
assert_eq!(c.hits(&counter), 8);
Expand Down

0 comments on commit 922bf2a

Please sign in to comment.