Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalh committed Jul 1, 2024
1 parent 573e52c commit 9a82cef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private static void expectValidationFailure(Class<? extends AbstractTimeWindowHi
@MethodSource("histogramTypes")
void rotationIntervalValidation(Class<? extends AbstractTimeWindowHistogram<?, ?>> histogramType) {
expectValidationFailure(histogramType,
DistributionStatisticConfig.builder().expiry(Duration.ofMillis(9)).bufferLength(10).build());
DistributionStatisticConfig.builder().expiry(Duration.ofMillis(-10)).build());
}

}

0 comments on commit 9a82cef

Please sign in to comment.