diff --git a/build.gradle b/build.gradle index 37c6483..be395b9 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ import org.opensearch.gradle.test.RestIntegTestTask apply plugin: 'java' apply plugin: 'idea' +apply plugin: 'eclipse' apply plugin: 'opensearch.opensearchplugin' apply plugin: 'opensearch.yaml-rest-test' apply plugin: 'opensearch.pluginzip' diff --git a/src/test/java/org/opensearch/path/to/plugin/RenamePluginIT.java b/src/test/java/org/opensearch/path/to/plugin/RenamePluginIT.java index 94e844b..d5f4dd7 100644 --- a/src/test/java/org/opensearch/path/to/plugin/RenamePluginIT.java +++ b/src/test/java/org/opensearch/path/to/plugin/RenamePluginIT.java @@ -32,7 +32,7 @@ protected Collection> nodePlugins() { } public void testPluginInstalled() throws IOException, ParseException { - Response response = createRestClient().performRequest(new Request("GET", "/_cat/plugins")); + Response response = getRestClient().performRequest(new Request("GET", "/_cat/plugins")); String body = EntityUtils.toString(response.getEntity(), StandardCharsets.UTF_8); logger.info("response body: {}", body);