mirror of https://github.com/apache/lucene.git
LUCENE-5037: explicitly connect to 127.0.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490280 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
046da92d9a
commit
e9ff6c0daa
|
@ -103,7 +103,7 @@ public class HttpReplicatorTest extends ReplicatorTestCase {
|
|||
|
||||
@Test
|
||||
public 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));
|
||||
|
|
Loading…
Reference in New Issue