File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ DEV_IMAGE=false
21
21
# E2E variables
22
22
E2E_INSTANCE_ID ?= argo-rollouts-e2e
23
23
E2E_TEST_OPTIONS ?=
24
- E2E_PARALLEL ?= 1
24
+ E2E_PARALLEL ?= 4
25
25
26
26
override LDFLAGS += \
27
27
-X ${PACKAGE}/utils/version.version=${VERSION} \
@@ -244,7 +244,7 @@ start-e2e:
244
244
245
245
.PHONY : test-e2e
246
246
test-e2e :
247
- go test -timeout 20m -v -count 1 --tags e2e -p ${E2E_PARALLEL} --short ./test/e2e ${E2E_TEST_OPTIONS}
247
+ go test -timeout 30m -v -count 1 --tags e2e -p ${E2E_PARALLEL} --short ./test/e2e ${E2E_TEST_OPTIONS}
248
248
249
249
.PHONY : coverage
250
250
coverage : test
Original file line number Diff line number Diff line change
1
+ //go:build e2e
1
2
// +build e2e
2
3
3
4
package e2e
@@ -450,6 +451,7 @@ spec:
450
451
args: null
451
452
` ).
452
453
WaitForRolloutStatus ("Paused" ).
454
+ Sleep (2 * time .Second ). // Give some time before validating the scaling down event
453
455
Then ().
454
456
ExpectRevisionPodCount ("1" , 1 ).
455
457
ExpectRevisionScaleDown ("2" , true ).
@@ -459,6 +461,7 @@ spec:
459
461
When ().
460
462
PromoteRollout ().
461
463
WaitForRolloutStatus ("Healthy" ).
464
+ Sleep (2 * time .Second ). // Give some time before validating the scaling down event
462
465
Then ().
463
466
ExpectRevisionPodCount ("1" , 1 ).
464
467
ExpectRevisionScaleDown ("1" , true ).
@@ -714,6 +717,7 @@ func (s *AnalysisSuite) TestBackgroundAnalysisWithArgs() {
714
717
When ().
715
718
UpdateSpec ().
716
719
WaitForRolloutStatus ("Paused" ).
720
+ Sleep (3 * time .Second ). // Give some time before validating that AnalysisRun got kicked off
717
721
Then ().
718
722
ExpectAnalysisRunCount (1 ).
719
723
ExpectBackgroundAnalysisRunPhase ("Running" ).
You can’t perform that action at this time.
0 commit comments