Skip to content

Commit

Permalink
Increase ginkgo timeout for default serial shoot suite (gardener#5428)
Browse files Browse the repository at this point in the history
* Increase ginkgo timeout for default serial shoot suite

With the update to ginkgov2 the default for the timeout
is reduced to 1h and is applied to the whole test suite.
On slower cloud providers we see test times of over one hour
and consequently running into the suite timeout.

* adapt activeDeadlineSeconds for shoot default serial

* increase the minimal activeDeadlineSeconds to 1h10m

* unify formatting

* set ginkgo timeout for shootdefault suite to 2h
  • Loading branch information
BeckerMax authored and Kristiyan Gostev committed Jul 5, 2022
1 parent bac1a2d commit 650f95f
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 8 deletions.
1 change: 1 addition & 0 deletions .test-defs/CreateManagedSeed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the creation of a managed seed.

activeDeadlineSeconds: 7200

command: [bash, -c]
Expand Down
1 change: 1 addition & 0 deletions .test-defs/CreateShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the creation of a shoot.

activeDeadlineSeconds: 7200

command: [bash, -c]
Expand Down
1 change: 1 addition & 0 deletions .test-defs/DeleteManagedSeed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the deletion of a managed seed.

activeDeadlineSeconds: 4200

command: [bash, -c]
Expand Down
3 changes: 2 additions & 1 deletion .test-defs/DeleteShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the deletion of a shoot.
activeDeadlineSeconds: 3600

activeDeadlineSeconds: 4200

command: [bash, -c]
args:
Expand Down
1 change: 1 addition & 0 deletions .test-defs/GardenletLandscaper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the Gardenlet landscaper

activeDeadlineSeconds: 7200

command: [bash, -c]
Expand Down
3 changes: 2 additions & 1 deletion .test-defs/HibernateShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the hibernation of a shoot.
activeDeadlineSeconds: 3600

activeDeadlineSeconds: 4200

command: [bash, -c]
args:
Expand Down
3 changes: 2 additions & 1 deletion .test-defs/MigrateShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the migration of a shoot.
activeDeadlineSeconds: 3600

activeDeadlineSeconds: 4200

command: [bash, -c]
args:
Expand Down
2 changes: 1 addition & 1 deletion .test-defs/ReconcileShoots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spec:
owner: gardener-oq@listserv.sap.com
description: Tests to wait and check if all shoots are successfully reconciled

activeDeadlineSeconds: 3600
activeDeadlineSeconds: 4200

command: [bash, -c]
args:
Expand Down
3 changes: 2 additions & 1 deletion .test-defs/ShootKubernetesUpdateTest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the kubernetes update of a shoot.
activeDeadlineSeconds: 3600

activeDeadlineSeconds: 4200

labels: ["shoot"]

Expand Down
3 changes: 2 additions & 1 deletion .test-defs/TestSuiteShootDefault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spec:
owner: gardener-oq@listserv.sap.com
description: shoot test suites that includes all default tests

activeDeadlineSeconds: 7200
activeDeadlineSeconds: 8100
labels: ["shoot", "default"]

command: [bash, -c]
Expand All @@ -20,5 +20,6 @@ spec:
-fenced=$FENCED
-ginkgo.focus="\[DEFAULT\]"
-ginkgo.skip="\[SERIAL\]|\[DISRUPTIVE\]"
-ginkgo.timeout=2h
image: eu.gcr.io/gardener-project/3rd/golang:1.17.6
3 changes: 2 additions & 1 deletion .test-defs/TestSuiteShootDefaultSerial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spec:
owner: gardener-oq@listserv.sap.com
description: shoot test suites that includes all serial default tests

activeDeadlineSeconds: 7200
activeDeadlineSeconds: 8100
labels: ["shoot", "default"]
behavior:
- serial
Expand All @@ -22,5 +22,6 @@ spec:
-fenced=$FENCED
-ginkgo.focus="\[DEFAULT\].*\[SERIAL\]"
-ginkgo.skip="\[DISRUPTIVE\]"
-ginkgo.timeout=2h
image: eu.gcr.io/gardener-project/3rd/golang:1.17.6
3 changes: 2 additions & 1 deletion .test-defs/WakeUpShoot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ metadata:
spec:
owner: gardener-oq@listserv.sap.com
description: Tests the wake-up of a shoot.
activeDeadlineSeconds: 3600

activeDeadlineSeconds: 4200

command: [bash, -c]
args:
Expand Down

0 comments on commit 650f95f

Please sign in to comment.