diff --git a/src/test/java/org/opensearch/knn/KNNSingleNodeTestCase.java b/src/test/java/org/opensearch/knn/KNNSingleNodeTestCase.java index 0b3219cc6e..b4edcf3041 100644 --- a/src/test/java/org/opensearch/knn/KNNSingleNodeTestCase.java +++ b/src/test/java/org/opensearch/knn/KNNSingleNodeTestCase.java @@ -69,7 +69,7 @@ public void tearDown() throws Exception { * Create a k-NN index with default settings */ protected IndexService createKNNIndex(String indexName) { - return createIndex(indexName, getKNNDefaultIndexSettings(), null); + return createIndex(indexName, getKNNDefaultIndexSettings()); } /**