Skip to content

Commit 98aa2a4

Browse files
author
Arvind Thirumurugan
committed
fix IT
Signed-off-by: Arvind Thirumurugan <arvindth@microsoft.com>
1 parent ea4a201 commit 98aa2a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkg/controllers/updaterun/validation_integration_test.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
. "github.com/onsi/ginkgo/v2"
2828
. "github.com/onsi/gomega"
2929
"k8s.io/apimachinery/pkg/api/meta"
30+
"k8s.io/apimachinery/pkg/util/intstr"
3031
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
3132
"k8s.io/apimachinery/pkg/types"
3233

@@ -303,6 +304,10 @@ var _ = Describe("UpdateRun validation tests", func() {
303304
"region": "no-exist",
304305
},
305306
},
307+
MaxConcurrency: &intstr.IntOrString{
308+
Type: intstr.Int,
309+
IntVal: 1,
310+
},
306311
})
307312
Expect(k8sClient.Status().Update(ctx, updateRun)).Should(Succeed())
308313

@@ -316,6 +321,10 @@ var _ = Describe("UpdateRun validation tests", func() {
316321
"region": "no-exist",
317322
},
318323
},
324+
MaxConcurrency: &intstr.IntOrString{
325+
Type: intstr.Int,
326+
IntVal: 1,
327+
},
319328
})
320329
validateClusterStagedUpdateRunStatus(ctx, updateRun, wantStatus, "the number of stages in the updateRun has changed")
321330
})

0 commit comments

Comments
 (0)