Skip to content
Snippets Groups Projects
Commit acab6789 authored by Ryan Izard's avatar Ryan Izard
Browse files

OMG, it was a timeout that was too short. Good news is that the bootstrap unit...

OMG, it was a timeout that was too short. Good news is that the bootstrap unit test passes. Bad news is that there is a timeout somewhere in the sync module that is way too long and causes the unit tests for sync to take literally a few minutes. Will look into that next.
parent d3699452
No related branches found
No related tags found
No related merge requests found
......@@ -70,10 +70,6 @@ public class BootstrapTest {
new File(dbFolder.getRoot(),
"server" + i).getAbsolutePath();
fmc.addConfigParam(syncManager, "dbPath", dbPath);
/*fmc.addConfigParam(syncManager, "keystorePath", keyStorePath);
fmc.addConfigParam(syncManager, "keystorePassword", keyStorePassword);
fmc.addConfigParam(syncManager, "authScheme", dbPath);
fmc.addConfigParam(syncManager, "port", dbPath);*/
tp.init(fmc);
syncManager.init(fmc);
......@@ -114,7 +110,7 @@ public class BootstrapTest {
unsyncStore.put("seeds", curSeed);
waitForValue(unsyncStore, "localNodeId", null,
3000, "unsyncStore" + i);
10000, "unsyncStore" + i);
short nodeId =
Short.parseShort(unsyncStore.getValue("localNodeId"));
Node node = nodeStore.getValue(nodeId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment