From d0af00677dc9fd443ac16e01e83cdefbd0bd4355 Mon Sep 17 00:00:00 2001 From: Ethan Mosbaugh Date: Tue, 10 Dec 2024 09:28:16 -0800 Subject: [PATCH] f --- pkg/kotsadmsnapshot/backup_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kotsadmsnapshot/backup_test.go b/pkg/kotsadmsnapshot/backup_test.go index dc9d33be37..81c745c193 100644 --- a/pkg/kotsadmsnapshot/backup_test.go +++ b/pkg/kotsadmsnapshot/backup_test.go @@ -1509,8 +1509,6 @@ func Test_mergeAppBackupSpec(t *testing.T) { } func Test_getAppInstanceBackupSpec(t *testing.T) { - t.Setenv("ENABLE_IMPROVED_DR", "true") - kotsadmSts := &appsv1.StatefulSet{ ObjectMeta: metav1.ObjectMeta{ Name: "kotsadm", @@ -1936,6 +1934,8 @@ func Test_getAppInstanceBackupSpec(t *testing.T) { } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { + t.Setenv("ENABLE_IMPROVED_DR", "true") + ctrl := gomock.NewController(t) defer ctrl.Finish()