Skip to content

Commit 2d1b841

Browse files
committed
Replaced localhost with 127.0.0.1 in PluginManagerTests
1 parent 45c8da3 commit 2d1b841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/elasticsearch/test/integration/plugin/PluginManagerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private void assertPluginLoaded(String pluginName) {
124124
}
125125

126126
private void assertPluginAvailable(String pluginName) {
127-
HttpClient httpClient = new HttpClient("http://localhost:9200/");
127+
HttpClient httpClient = new HttpClient("http://127.0.0.1:9200/");
128128
HttpClientResponse response = httpClient.request("_plugin/" + pluginName + "/");
129129
assertThat(response.errorCode(), Matchers.equalTo(RestStatus.OK.getStatus()));
130130
}

0 commit comments

Comments
 (0)