From 069107636e817d5a58257c6fa50f23d856d67efb Mon Sep 17 00:00:00 2001 From: Joshua Palis Date: Mon, 2 Oct 2023 20:01:27 +0000 Subject: [PATCH] Fixing CI Signed-off-by: Joshua Palis --- .../org/opensearch/flowframework/FlowFrameworkPluginIT.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/org/opensearch/flowframework/FlowFrameworkPluginIT.java b/src/test/java/org/opensearch/flowframework/FlowFrameworkPluginIT.java index 0dccc27ce..e85a79b17 100644 --- a/src/test/java/org/opensearch/flowframework/FlowFrameworkPluginIT.java +++ b/src/test/java/org/opensearch/flowframework/FlowFrameworkPluginIT.java @@ -10,8 +10,7 @@ import com.carrotsearch.randomizedtesting.annotations.ThreadLeakScope; -import org.apache.hc.core5.http.ParseException; -import org.apache.hc.core5.http.io.entity.EntityUtils; +import org.apache.http.util.EntityUtils; import org.opensearch.client.Request; import org.opensearch.client.Response; import org.opensearch.plugins.Plugin; @@ -31,7 +30,7 @@ protected Collection> nodePlugins() { return Collections.singletonList(FlowFrameworkPlugin.class); } - public void testPluginInstalled() throws IOException, ParseException { + public void testPluginInstalled() throws IOException { Response response = createRestClient().performRequest(new Request("GET", "/_cat/plugins")); String body = EntityUtils.toString(response.getEntity(), StandardCharsets.UTF_8);