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:
Robert Muir 2013-06-06 13:41:38 +00:00
parent 046da92d9a
commit e9ff6c0daa
1 changed files with 1 additions and 1 deletions

View File

@ -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));