Apache Lucene open-source search software
LUCENE-5037: explicitly connect to 127.0.0.1
Robert Muire9ff6c0daab8
diff --git a/lucene/replicator/src/test/org/apache/lucene/replicator/http/HttpReplicatorTest.java b/lucene/replicator/src/test/org/apache/lucene/replicator/http/HttpReplicatorTest.javaindex 7059cc6729a..9ba289d8c3b 100755--- a/lucene/replicator/src/test/org/apache/lucene/replicator/http/HttpReplicatorTest.java+++ b/lucene/replicator/src/test/org/apache/lucene/replicator/http/HttpReplicatorTest.java@@ -103,7 +103,7 @@ public class HttpReplicatorTest extends ReplicatorTestCase {@Testpublic void testBasic() throws Exception {- Replicator replicator = new HttpReplicator("localhost", port, ReplicationService.REPLICATION_CONTEXT + "/s1",+ Replicator replicator = new HttpReplicator("127.0.0.1", port, ReplicationService.REPLICATION_CONTEXT + "/s1",getClientConnectionManager());ReplicationClient client = new ReplicationClient(replicator, new IndexReplicationHandler(handlerIndexDir, null),new PerSessionDirectoryFactory(clientWorkDir));