Replaced localhost with 127.0.0.1 in PluginManagerTests

This commit is contained in:
Luca Cavanna 2013-09-03 11:44:56 +02:00
parent 45c8da3e98
commit 2d1b841ba1
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ public class PluginManagerTests extends AbstractNodesTests {
}
private void assertPluginAvailable(String pluginName) {
HttpClient httpClient = new HttpClient("http://localhost:9200/");
HttpClient httpClient = new HttpClient("http://127.0.0.1:9200/");
HttpClientResponse response = httpClient.request("_plugin/" + pluginName + "/");
assertThat(response.errorCode(), Matchers.equalTo(RestStatus.OK.getStatus()));
}