mirror of
https://github.com/apache/lucene.git
synced 2025-02-28 21:39:25 +00:00
LUCENE-9819: fix random failures in TestKnnGraph due to insufficient graph connectivity
This commit is contained in:
parent
17c6a7c37f
commit
9e8207a558
@ -59,7 +59,7 @@ public class TestKnnGraph extends LuceneTestCase {
|
||||
public void setup() {
|
||||
randSeed = random().nextLong();
|
||||
if (random().nextBoolean()) {
|
||||
maxConn = random().nextInt(256) + 2;
|
||||
maxConn = random().nextInt(256) + 3;
|
||||
}
|
||||
int strategy = random().nextInt(SearchStrategy.values().length - 1) + 1;
|
||||
searchStrategy = SearchStrategy.values()[strategy];
|
||||
|
Loading…
x
Reference in New Issue
Block a user