summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/complex/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Freeze/complex/run.py')
-rwxr-xr-xcpp/test/Freeze/complex/run.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/Freeze/complex/run.py b/cpp/test/Freeze/complex/run.py
index 600ebb883a3..04f9d5edd85 100755
--- a/cpp/test/Freeze/complex/run.py
+++ b/cpp/test/Freeze/complex/run.py
@@ -31,11 +31,13 @@ TestUtil.cleanDbDir(dbdir)
client = os.path.join(os.getcwd(), "client")
print "starting populate...",
-populateProc = TestUtil.startClient(client, " --dbdir %s populate" % os.getcwd())
+populateProc = TestUtil.startClient(client, " --dbdir %s populate" % os.getcwd(), startReader = False)
print "ok"
+populateProc.startReader()
populateProc.waitTestSuccess()
print "starting verification client...",
-clientProc = TestUtil.startClient(client, " --dbdir %s validate" % os.getcwd())
+clientProc = TestUtil.startClient(client, " --dbdir %s validate" % os.getcwd(), startReader = False)
print "ok"
+clientProc.startReader()
clientProc.waitTestSuccess()