Skip to content

Commit

Permalink
0000021: SQLite
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanes committed Dec 9, 2012
1 parent eb89922 commit b9f7245
Showing 1 changed file with 9 additions and 1 deletion.
Expand Up @@ -73,6 +73,14 @@ protected ISymmetricEngine getServer() {
File rootDir = new File("target/root");
FileUtils.deleteDirectory(rootDir);
rootDir.mkdirs();
File rootdbs = new File("target/rootdbs");
FileUtils.deleteDirectory(rootdbs);
rootdbs.mkdirs();

File clientdbs = new File("target/clientdbs");
FileUtils.deleteDirectory(clientdbs);
clientdbs.mkdirs();

File engineDir = new File(rootDir, "engines");
engineDir.mkdirs();
File rootPropertiesFile = new File(engineDir, "root.properties");
Expand Down Expand Up @@ -108,7 +116,7 @@ protected boolean clientPush() {
boolean pushed = false;
while (!pushed && tries < 10) {
RemoteNodeStatuses statuses = getClient().push();
statuses.waitForComplete(10000);
statuses.waitForComplete(15000);
pushed = statuses.wasDataProcessed();
AppUtils.sleep(100);
tries++;
Expand Down

0 comments on commit b9f7245

Please sign in to comment.