Merge pull request #2312 from tclinken/fix-waiting-for-dd-output
Only print 'waiting for DD to end...' if test actually waits
This commit is contained in:
commit
927a9c02fc
|
@ -1093,11 +1093,12 @@ ACTOR Future<Void> runTests( Reference<AsyncVar<Optional<struct ClusterControlle
|
|||
// do we handle a failure here?
|
||||
}
|
||||
|
||||
printf("\n%d tests passed; %d tests failed, waiting for DD to end...\n\n", passCount, failCount);
|
||||
|
||||
printf("\n%d tests passed; %d tests failed.\n", passCount, failCount);
|
||||
|
||||
//If the database was deleted during the workload we need to recreate the database
|
||||
if(tests.empty() || useDB) {
|
||||
if(waitForQuiescenceEnd) {
|
||||
printf("Waiting for DD to end...\n");
|
||||
try {
|
||||
wait(quietDatabase(cx, dbInfo, "End", 0, 2e6, 2e6) ||
|
||||
(databasePingDelay == 0.0 ? Never()
|
||||
|
@ -1108,6 +1109,7 @@ ACTOR Future<Void> runTests( Reference<AsyncVar<Optional<struct ClusterControlle
|
|||
}
|
||||
}
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
return Void();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue