Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Feb 11, 2025
1 parent bb2222d commit 1bb7176
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ public void should_increase_to_max_interval_when_code(int code)

runner.assertThatFetchesAndReceives(ClientFeaturesResponse.Status.UNAVAILABLE, code);
assertThat(featureRepository.getFailures()).isEqualTo(1);
assertThat(featureRepository.getSkips()).isEqualTo(30);
for (int i = 0; i < 30; i++) {
assertThat(featureRepository.getSkips()).isEqualTo(20);
for (int i = 0; i < 20; i++) {
runner.assertThatSkipsNextRun();
}
assertThat(featureRepository.getFailures()).isEqualTo(1);
Expand Down

0 comments on commit 1bb7176

Please sign in to comment.