unpause backup as soon as possible when waiting for version

This commit is contained in:
Jon Fu 2020-11-04 14:37:36 -05:00
parent 3ae611d668
commit ac0e4c1705
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ struct IncrementalBackupWorkload : TestWorkload {
ACTOR static Future<bool> _check(Database cx, IncrementalBackupWorkload* self) {
if (self->waitForBackup) {
wait(self->backupAgent.changePause(cx, false));
state Reference<IBackupContainer> backupContainer;
state UID backupUID;
state Version v;

View File

@ -10,6 +10,7 @@ runConsistencyCheck = false
testName = 'IncrementalBackup'
tag = 'default'
submitOnly = true
waitForBackup = true
[[test]]
testTitle = 'PreSnapWorkloads'