Skip to content

Commit 3ab165c

Browse files
committed
Fix OOM of TestTrie (#14488)
1 parent b5f1948 commit 3ab165c

File tree

1 file changed

+2
-2
lines changed
  • lucene/core/src/test/org/apache/lucene/codecs/lucene103/blocktree

1 file changed

+2
-2
lines changed

lucene/core/src/test/org/apache/lucene/codecs/lucene103/blocktree/TestTrie.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public void testStrategyChoose() {
4646

4747
public void testRandomTerms() throws Exception {
4848
Supplier<byte[]> supplier = TestTrie::randomBytes;
49-
testTrieBuilder(supplier, atLeast(10000));
50-
testTrieLookup(supplier, TEST_NIGHTLY ? 18 : 12);
49+
testTrieBuilder(supplier, atLeast(1000));
50+
testTrieLookup(supplier, 12);
5151
}
5252

5353
public void testVeryLongTerms() throws Exception {

0 commit comments

Comments
 (0)