see if a stronger sync will sort the ubuntu ci test failures of leveldb - i cannot reproduce

This commit is contained in:
gtully 2015-01-06 15:28:08 +00:00
parent 7ebc6ceef8
commit 5616d39d82
2 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,7 @@ public class ElectingLevelDBStoreTest extends ZooKeeperTestSupport {
store.setSecurityToken("foo");
store.setLogSize(1024 * 200);
store.setReplicas(2);
store.setSync("quorum_disk");
store.setZkSessionTimeout("15s");
store.setZkAddress("localhost:" + connector.getLocalPort());
store.setZkPath("/broker-stores");

View File

@ -446,6 +446,7 @@ public class ReplicatedLevelDBBrokerTest extends ZooKeeperTestSupport {
store.setDirectory(new File(data_dir(), id));
store.setContainer(id);
store.setReplicas(3);
store.setSync("quorum_disk");
store.setZkAddress("localhost:" + connector.getLocalPort());
store.setZkSessionTimeout("15s");
store.setHostname("localhost");