Skip to content

Commit

Permalink
Cleanup test
Browse files Browse the repository at this point in the history
  • Loading branch information
emitskevich committed May 16, 2024
1 parent d74400f commit d760cba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ public void testRateIsConsistentAfterTheFirstWindow() {
for (int stepMs : steps) {
time.sleep(stepMs);
rate.record(config, 1, time.milliseconds());
double observedRate1 = rate.measure(config, time.milliseconds());
assertTrue(10 <= observedRate1 && observedRate1 <= 11);
double observedRate = rate.measure(config, time.milliseconds());
assertTrue(10 <= observedRate && observedRate <= 11);
}
}
}

0 comments on commit d760cba

Please sign in to comment.