Replaced localhost with 127.0.0.1 in PluginManagerTests
This commit is contained in:
parent
45c8da3e98
commit
2d1b841ba1
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue