From 1ebe6a48df14a2b7adcd6cb4b9da5388f90ea474 Mon Sep 17 00:00:00 2001 From: Varun Jain Date: Tue, 2 Jan 2024 00:29:32 -0800 Subject: [PATCH] Removing extra parameter from createPipelineProcessor Signed-off-by: Varun Jain --- .../java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java | 2 +- .../java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java b/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java index 6d7e3026d..bd53df01d 100644 --- a/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java +++ b/qa/restart-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java @@ -79,7 +79,7 @@ private String registerModelGroupAndGetModelId(String requestBody) throws Except return uploadModel(String.format(LOCALE, requestBody, modelGroupId)); } - protected void createPipelineProcessor(String modelId, String pipelineName, ProcessorType processorType) throws Exception { + protected void createPipelineProcessor(String modelId, String pipelineName) throws Exception { String requestBody = Files.readString(Path.of(classLoader.getResource("processor/PipelineConfiguration.json").toURI())); createPipelineProcessor(requestBody, pipelineName, modelId); } diff --git a/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java b/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java index 3626e16f2..23f9eb368 100644 --- a/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java +++ b/qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/SemanticSearchIT.java @@ -92,7 +92,7 @@ private String registerModelGroupAndGetModelId(String requestBody) throws Except return uploadModel(String.format(LOCALE, requestBody, modelGroupId)); } - protected void createPipelineProcessor(String modelId, String pipelineName, ProcessorType processorType) throws Exception { + protected void createPipelineProcessor(String modelId, String pipelineName) throws Exception { String requestBody = Files.readString(Path.of(classLoader.getResource("processor/PipelineConfiguration.json").toURI())); createPipelineProcessor(requestBody, pipelineName, modelId); }