diff --git a/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java b/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java index 01e08977b..876b2b0d7 100644 --- a/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java +++ b/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java @@ -55,8 +55,8 @@ public void testNeuralQueryEnricherProcessor_NeuralSparseSearch_E2EFlow() throws Settings.builder().put("index.search.default_pipeline", SPARSE_SEARCH_PIPELINE_NAME) ); assertEquals( - search(getIndexNameForTest(), sparseEncodingQueryBuilderWithoutModelId, 1).get("hits"), - search(getIndexNameForTest(), sparseEncodingQueryBuilderWithModelId, 1).get("hits") + search(getIndexNameForTest(), sparseEncodingQueryBuilderWithoutModelId, 1).get("hits"), + search(getIndexNameForTest(), sparseEncodingQueryBuilderWithModelId, 1).get("hits") ); } else { String modelId = null; diff --git a/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java b/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java index ad4af0154..281c78821 100644 --- a/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java +++ b/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/NeuralQueryEnricherProcessorIT.java @@ -58,8 +58,8 @@ public void testNeuralQueryEnricherProcessor_NeuralSparseSearch_E2EFlow() throws Settings.builder().put("index.search.default_pipeline", SPARSE_SEARCH_PIPELINE_NAME) ); assertEquals( - search(getIndexNameForTest(), sparseEncodingQueryBuilderWithoutModelId, 1).get("hits"), - search(getIndexNameForTest(), sparseEncodingQueryBuilderWithModelId, 1).get("hits") + search(getIndexNameForTest(), sparseEncodingQueryBuilderWithoutModelId, 1).get("hits"), + search(getIndexNameForTest(), sparseEncodingQueryBuilderWithModelId, 1).get("hits") ); break; case MIXED: @@ -68,8 +68,8 @@ public void testNeuralQueryEnricherProcessor_NeuralSparseSearch_E2EFlow() throws sparseEncodingQueryBuilderWithModelId.modelId(sparseModelId); assertEquals( - search(getIndexNameForTest(), sparseEncodingQueryBuilderWithoutModelId, 1).get("hits"), - search(getIndexNameForTest(), sparseEncodingQueryBuilderWithModelId, 1).get("hits") + search(getIndexNameForTest(), sparseEncodingQueryBuilderWithoutModelId, 1).get("hits"), + search(getIndexNameForTest(), sparseEncodingQueryBuilderWithModelId, 1).get("hits") ); break; case UPGRADED: