Skip to content

Commit

Permalink
Merge pull request #67 from reta/issue-65
Browse files Browse the repository at this point in the history
Fix build that fails due to missing OpenSearchIntegTestCase#createRestClient
  • Loading branch information
saratvemulapalli authored Feb 27, 2024
2 parents 57a0177 + ab4bcd2 commit d5f3c83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected Collection<Class<? extends Plugin>> 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);
Expand Down

0 comments on commit d5f3c83

Please sign in to comment.