The local whole-guest tier keeps one restore point per day for 3 days: keep-daily instead of keep-last (R-1149, operator D17, unreleased)
gates / gates (push) Successful in 47s
gates / gates (push) Successful in 47s
This commit is contained in:
1 parent
1693da4d1a
commit
1b6e31675b
6 files changed
+153
-11
No files matched your search
@@ -93,7 +93,7 @@ func TestPrune_KeepLastClamp(t *testing.T) {
|
||||
t.Fatalf("keep-last must NEVER be < 1 (would prune the fresh backup), got %d for %d", b.KeepLast(), c.set)
|
||||
}
|
||||
}
|
||||
if spec := (config.BackupConfig{}).PruneBackupsSpec(); spec != "keep-last=3" {
|
||||
t.Fatalf("default PruneBackupsSpec = %q, want keep-last=3", spec)
|
||||
if spec := (config.BackupConfig{}).PruneBackupsSpec(); spec != "keep-daily=3" {
|
||||
t.Fatalf("default PruneBackupsSpec = %q, want keep-daily=3 (R-1149)", spec)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user