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:
Danielle Lancashire 2022-07-29 13:18:03 +00:00
parent 3c1237930e
commit 1c5b77b0cb

View File

@ -53,7 +53,7 @@ ssh_options=${SSH_OPTIONS:-}
kubelet_config_file=${KUBELET_CONFIG_FILE:-"test/e2e_node/jenkins/default-kubelet-config.yaml"}
# Parse the flags to pass to ginkgo
ginkgoflags=""
ginkgoflags="-timeout=24h"
if [[ ${parallelism} -gt 1 ]]; then
ginkgoflags="${ginkgoflags} -nodes=${parallelism} "
fi