adjust test spec and backup describe
This commit is contained in:
parent
348ea10f3c
commit
7218586f2f
|
@ -4506,7 +4506,7 @@ public:
|
|||
Version beginVersion, UID randomUid) {
|
||||
state Reference<IBackupContainer> bc = IBackupContainer::openContainer(url.toString());
|
||||
|
||||
state BackupDescription desc = wait(bc->describeBackup(true, beginVersion));
|
||||
state BackupDescription desc = wait(bc->describeBackup(true));
|
||||
if(cxOrig.present()) {
|
||||
wait(desc.resolveVersionTimes(cxOrig.get()));
|
||||
}
|
||||
|
@ -4525,6 +4525,7 @@ public:
|
|||
if(!restoreSet.present()) {
|
||||
TraceEvent(SevWarn, "FileBackupAgentRestoreNotPossible")
|
||||
.detail("BackupContainer", bc->getURL())
|
||||
.detail("BeginVersion", beginVersion)
|
||||
.detail("TargetVersion", targetVersion);
|
||||
fprintf(stderr, "ERROR: Restore version %" PRId64 " is not possible from %s\n", targetVersion, bc->getURL().c_str());
|
||||
throw restore_invalid_version();
|
||||
|
|
|
@ -32,7 +32,7 @@ clearAfterTest = false
|
|||
[[test]]
|
||||
testTitle = 'PostSnapWorkloads'
|
||||
simBackupAgents = 'BackupToFile'
|
||||
clearAfterTest = false
|
||||
clearAfterTest = true
|
||||
|
||||
[[test.workload]]
|
||||
testName = 'Cycle'
|
||||
|
@ -45,15 +45,6 @@ clearAfterTest = false
|
|||
testName = 'IncrementalBackup'
|
||||
tag = 'default'
|
||||
waitForBackup = true
|
||||
|
||||
[[test]]
|
||||
testTitle = 'StopBackupAndClear'
|
||||
simBackupAgents = 'BackupToFile'
|
||||
clearAfterTest = true
|
||||
|
||||
[[test.workload]]
|
||||
testName = 'IncrementalBackup'
|
||||
tag = 'default'
|
||||
stopBackup = true
|
||||
|
||||
[[test]]
|
||||
|
|
Loading…
Reference in New Issue