diff --git a/lucene/core/src/test/org/apache/lucene/util/hnsw/HnswGraphTestCase.java b/lucene/core/src/test/org/apache/lucene/util/hnsw/HnswGraphTestCase.java index 3528d5e0c9c3..4c95836d439a 100644 --- a/lucene/core/src/test/org/apache/lucene/util/hnsw/HnswGraphTestCase.java +++ b/lucene/core/src/test/org/apache/lucene/util/hnsw/HnswGraphTestCase.java @@ -286,7 +286,7 @@ public void testSortedAndUnsortedIndicesReturnSameResults() throws IOException { AbstractMockVectorValues vectors = vectorValues(nDoc, dim); int M = random().nextInt(10) + 5; - int beamWidth = random().nextInt(10) + 5; + int beamWidth = random().nextInt(10) + 10; VectorSimilarityFunction similarityFunction = RandomizedTest.randomFrom(VectorSimilarityFunction.values()); long seed = random().nextLong();