change waitVersion to waitForBackup
This commit is contained in:
parent
89c334eb53
commit
7553daba20
|
@ -33,14 +33,14 @@ struct IncrementalBackupWorkload : TestWorkload {
|
|||
FileBackupAgent backupAgent;
|
||||
bool submitOnly;
|
||||
bool restoreOnly;
|
||||
bool waitVersion;
|
||||
bool waitForBackup;
|
||||
|
||||
IncrementalBackupWorkload(WorkloadContext const& wcx) : TestWorkload(wcx) {
|
||||
backupDir = getOption(options, LiteralStringRef("backupDir"), LiteralStringRef("file://simfdb/backups/"));
|
||||
tag = getOption(options, LiteralStringRef("tag"), LiteralStringRef("default"));
|
||||
submitOnly = getOption(options, LiteralStringRef("submitOnly"), false);
|
||||
restoreOnly = getOption(options, LiteralStringRef("restoreOnly"), false);
|
||||
waitVersion = getOption(options, LiteralStringRef("waitVersion"), false);
|
||||
waitForBackup = getOption(options, LiteralStringRef("waitForBackup"), false);
|
||||
}
|
||||
|
||||
virtual std::string description() { return "IncrementalBackup"; }
|
||||
|
@ -55,7 +55,7 @@ struct IncrementalBackupWorkload : TestWorkload {
|
|||
}
|
||||
|
||||
virtual Future<bool> check(Database const& cx) {
|
||||
if (clientId || !waitVersion) {
|
||||
if (clientId || !waitForBackup) {
|
||||
return true;
|
||||
}
|
||||
return _check(cx, this);
|
||||
|
|
|
@ -22,7 +22,7 @@ simBackupAgents = 'BackupToFile'
|
|||
[[test.workload]]
|
||||
testName = 'IncrementalBackup'
|
||||
tag = 'default'
|
||||
waitVersion = true
|
||||
waitForBackup = true
|
||||
|
||||
[[test]]
|
||||
testTitle = 'SubmitRestore'
|
||||
|
|
Loading…
Reference in New Issue