There was an error while loading. Please reload this page.
1 parent 45c8da3 commit 2d1b841Copy full SHA for 2d1b841
src/test/java/org/elasticsearch/test/integration/plugin/PluginManagerTests.java
@@ -124,7 +124,7 @@ private void assertPluginLoaded(String pluginName) {
124
}
125
126
private void assertPluginAvailable(String pluginName) {
127
- HttpClient httpClient = new HttpClient("http://localhost:9200/");
+ HttpClient httpClient = new HttpClient("http://127.0.0.1:9200/");
128
HttpClientResponse response = httpClient.request("_plugin/" + pluginName + "/");
129
assertThat(response.errorCode(), Matchers.equalTo(RestStatus.OK.getStatus()));
130
0 commit comments