Skip to content

Commit 6b3e3ea

Browse files
committed
fix(operator): update integration test for shard backup retention defaults
Signed-off-by: Veronica Lopez <veronica.lopez@supabase.io>
1 parent 1a3110f commit 6b3e3ea

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/cluster-handler/controller/multigrescluster/integration_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,10 @@ func TestMultigresCluster_HappyPath(t *testing.T) {
12761276
Backup: &multigresv1alpha1.BackupConfig{
12771277
Type: multigresv1alpha1.BackupTypeFilesystem,
12781278
Filesystem: &multigresv1alpha1.FilesystemBackupConfig{Path: resolver.DefaultBackupPath, Storage: multigresv1alpha1.StorageSpec{Size: resolver.DefaultBackupStorageSize}},
1279+
Retention: &multigresv1alpha1.RetentionPolicy{
1280+
FullCount: ptr.To(int32(4)),
1281+
DifferentialCount: ptr.To(int32(1)),
1282+
},
12791283
},
12801284
},
12811285
},

0 commit comments

Comments
 (0)