From e592b170352eb834fd39ccee6ecb06b961836a78 Mon Sep 17 00:00:00 2001 From: Joshua Palis Date: Fri, 22 Mar 2024 15:33:11 -0700 Subject: [PATCH] [Backport 2.x] Fixing neural search name check for default use case integ test (#609) fixing neural search name Signed-off-by: Joshua Palis --- .../opensearch/flowframework/rest/FlowFrameworkRestApiIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opensearch/flowframework/rest/FlowFrameworkRestApiIT.java b/src/test/java/org/opensearch/flowframework/rest/FlowFrameworkRestApiIT.java index 3f8f6d9bc..b6e2b2e9e 100644 --- a/src/test/java/org/opensearch/flowframework/rest/FlowFrameworkRestApiIT.java +++ b/src/test/java/org/opensearch/flowframework/rest/FlowFrameworkRestApiIT.java @@ -460,7 +460,7 @@ public void testDefaultSemanticSearchUseCaseWithFailureExpected() throws Excepti // Distribution build contains all plugins, checking if plugins are part of the integration test cluster List plugins = catPlugins(); - if (plugins.contains("opensearch-knn") && plugins.contains("neural-search")) { + if (plugins.contains("opensearch-knn") && plugins.contains("opensearch-neural-search")) { getAndAssertWorkflowStatus(client(), workflowId, State.PROVISIONING, ProvisioningProgress.IN_PROGRESS); } else { // expecting a failure since there is no neural-search plugin in cluster to provide text-embedding processor