Skip to content

Commit e55bf09

Browse files
committed
Fix unit tests
1 parent 5b5e4a8 commit e55bf09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/registry/core/pod/strategy_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2905,6 +2905,7 @@ func TestPodResizePrepareForUpdate(t *testing.T) {
29052905
for _, tc := range tests {
29062906
t.Run(tc.name, func(t *testing.T) {
29072907
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.InPlacePodVerticalScaling, true)
2908+
featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.InPlacePodVerticalScalingAllocatedStatus, true)
29082909
ctx := context.Background()
29092910
ResizeStrategy.PrepareForUpdate(ctx, tc.newPod, tc.oldPod)
29102911
if !cmp.Equal(tc.expected, tc.newPod) {

0 commit comments

Comments
 (0)