Skip to content

Commit

Permalink
fixup (#80901)
Browse files Browse the repository at this point in the history
a tiny catch for a rollover test
  • Loading branch information
weizijun authored and martijnvg committed Nov 29, 2021
1 parent 4501bd9 commit 4154a3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void testMaxDocs() {
assertThat(evaluate.matched, equalTo(true));

long maxDocsNotMatch = randomIntBetween(0, 99);
evaluate = maxDocsCondition.evaluate(new Condition.Stats(0, maxDocsNotMatch, randomByteSize(), randomByteSize()));
evaluate = maxDocsCondition.evaluate(new Condition.Stats(maxDocsNotMatch, 0, randomByteSize(), randomByteSize()));
assertThat(evaluate.condition, equalTo(maxDocsCondition));
assertThat(evaluate.matched, equalTo(false));
}
Expand Down

0 comments on commit 4154a3b

Please sign in to comment.