Skip to content

Commit a4bd391

Browse files
committed
integration testing: update timeout
KUBE_TIMEOUT is the timeout per package, not per job. Setting it to -timeout=1h30m for pull-kubernetes-integration was a mistake. That mistake then got perpetuated for pull-kubernetes-integration-race. Now pull-kubernetes-integration uses the default (10 minutes), without setting it explicitly. When race detection is enabled, the additional overhead causes some packages to time out, so 15 minutes are used for presubmit and ci race jobs.
1 parent b990514 commit a4bd391

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

config/jobs/kubernetes/sig-testing/integration.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ presubmits:
2121
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250815-171060767f-master
2222
command:
2323
- runner.sh
24-
env:
25-
- name: KUBE_TIMEOUT
26-
value: "-timeout=1h30m"
2724
args:
2825
- ./hack/jenkins/test-integration-dockerized.sh
2926
# docker-in-docker needs privileged mode
@@ -96,7 +93,7 @@ presubmits:
9693
- runner.sh
9794
env:
9895
- name: KUBE_TIMEOUT
99-
value: "-timeout=1h30m"
96+
value: "-timeout=15m"
10097
- name: KUBE_RACE
10198
value: "-race"
10299
args:
@@ -248,6 +245,8 @@ periodics:
248245
env:
249246
- name: SHORT
250247
value: --short=false
248+
- name: KUBE_TIMEOUT
249+
value: "-timeout=15m"
251250
- name: KUBE_RACE
252251
value: "-race"
253252
# docker-in-docker needs privileged mode

0 commit comments

Comments
 (0)