Skip to content

Commit

Permalink
Fix test after backport (#13252)
Browse files Browse the repository at this point in the history
  • Loading branch information
uschindler committed Apr 19, 2024
1 parent a688cec commit cb1d755
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public void testDisorder() throws Exception {
TermsEnum termsEnum = getOnlyLeafReader(reader).terms("id").iterator();

for (int i = 0; i < 20000; i++) {
int n = random().nextInt(0, 10000);
int n = TestUtil.nextInt(random(), 0, 9999);
BytesRef target = new BytesRef(n + "");
// seekExact.
assertTrue(termsEnum.seekExact(target));
Expand Down

0 comments on commit cb1d755

Please sign in to comment.