From 3ae0ca23d937bef2865689748ac9e556b40aff38 Mon Sep 17 00:00:00 2001 From: Michael Sokolov Date: Sun, 15 Nov 2020 12:46:16 +0000 Subject: [PATCH] LUCENE-9610: fix bug in previous test fix --- lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java b/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java index 034b4e3f0d3..b6b43fa8b7b 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestKnnGraph.java @@ -48,7 +48,7 @@ public class TestKnnGraph extends LuceneTestCase { private static final String KNN_GRAPH_FIELD = "vector"; - private static int maxConn; + private static int maxConn = HnswGraphBuilder.DEFAULT_MAX_CONN; @Before public void setup() {