diff --git a/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/job/process/normalizer/ShortCircuitingRenormalizerTests.java b/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/job/process/normalizer/ShortCircuitingRenormalizerTests.java index 2f66fbb0354..078327d9405 100644 --- a/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/job/process/normalizer/ShortCircuitingRenormalizerTests.java +++ b/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/job/process/normalizer/ShortCircuitingRenormalizerTests.java @@ -54,7 +54,7 @@ public class ShortCircuitingRenormalizerTests extends ESTestCase { List quantilesUsed = stateCaptor.getAllValues(); assertFalse(quantilesUsed.isEmpty()); - assertTrue(quantilesUsed.size() < TEST_SIZE); + assertTrue("quantilesUsed.size() is " + quantilesUsed.size(), quantilesUsed.size() <= TEST_SIZE); // Last quantiles state that was actually used must be the last quantiles state we supplied assertEquals(Integer.toString(TEST_SIZE), quantilesUsed.get(quantilesUsed.size() - 1));