mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
test-e2e-node: set ginkgo test timeout to 24h
Ginkgo v1 had a much longer default test timeout, in v2 this switched to being 1 hour. This is not long enough to run many of our suites. Here we copy the backwards compatibility that is used by hack/gingo-e2e.sh to unbreak serial pipelines.
This commit is contained in:
parent
3c1237930e
commit
1c5b77b0cb
@ -53,7 +53,7 @@ ssh_options=${SSH_OPTIONS:-}
|
|||||||
kubelet_config_file=${KUBELET_CONFIG_FILE:-"test/e2e_node/jenkins/default-kubelet-config.yaml"}
|
kubelet_config_file=${KUBELET_CONFIG_FILE:-"test/e2e_node/jenkins/default-kubelet-config.yaml"}
|
||||||
|
|
||||||
# Parse the flags to pass to ginkgo
|
# Parse the flags to pass to ginkgo
|
||||||
ginkgoflags=""
|
ginkgoflags="-timeout=24h"
|
||||||
if [[ ${parallelism} -gt 1 ]]; then
|
if [[ ${parallelism} -gt 1 ]]; then
|
||||||
ginkgoflags="${ginkgoflags} -nodes=${parallelism} "
|
ginkgoflags="${ginkgoflags} -nodes=${parallelism} "
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user