The the hostname on the replicated leveldb store test so that the test works better on machines with weird DNS settings.

This commit is contained in:
Hiram Chirino 2013-10-02 12:15:26 -04:00
parent 0b66abcbfb
commit b720b264e3
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@ public class ElectingLevelDBStoreTest {
store.setZkAddress("localhost:" + connector.getLocalPort()); store.setZkAddress("localhost:" + connector.getLocalPort());
store.setZkPath("/broker-stores"); store.setZkPath("/broker-stores");
store.setBrokerName("foo"); store.setBrokerName("foo");
store.setHostname("localhost");
store.setBind("tcp://0.0.0.0:0"); store.setBind("tcp://0.0.0.0:0");
return store; return store;
} }