Skip to content

Commit 061ebb0

Browse files
Merge pull request #3442 from ggiguash/4.16_cncf_timeout
[release-4.16] USHIFT-3266 Increase cncf result collection timeout to 10m
2 parents a0f7066 + 58d3d08 commit 061ebb0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/scenarios-periodics/[email protected]

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
KUBECONFIG="${SCENARIO_INFO_DIR}/${SCENARIO}/kubeconfig"
66
# Timeout in seconds
77
TIMEOUT_TEST=7400
8-
TIMEOUT_RESULTS=300
8+
TIMEOUT_RESULTS=600
99

1010
prepare_hosts() {
1111
local -r primary_host_ip=$(cat "${SCENARIO_INFO_DIR}/${SCENARIO}/vms/host1/public_ip")
@@ -93,7 +93,7 @@ run_sonobuoy() {
9393
fi
9494
record_junit "run_sonobuoy" "wait_e2e_running" "OK"
9595

96-
# Use 1h timeout. A normal run on 2 CPUs takes 40-45min.
96+
# Note that a normal run on 2 CPUs takes 40-45min.
9797
local -r stat_file="${SCENARIO_INFO_DIR}/${SCENARIO}/cncf_status.json"
9898
start=$(date +%s)
9999
while true ; do
@@ -105,7 +105,7 @@ run_sonobuoy() {
105105
now=$(date +%s)
106106
if [ $(( now - start )) -ge ${TIMEOUT_TEST} ]; then
107107
rc=1
108-
echo "Tests running for 1h. Timing out"
108+
echo "Tests running for ${TIMEOUT_TEST}s. Timing out"
109109
record_junit "run_sonobuoy" "wait_e2e_finished" "FAILED"
110110
break
111111
fi
@@ -126,7 +126,7 @@ run_sonobuoy() {
126126
if [ $(( now - start )) -ge ${TIMEOUT_RESULTS} ]; then
127127
rc=1
128128
results=false
129-
echo "Waited for results for 5m. Timing out"
129+
echo "Waited for results for ${TIMEOUT_RESULTS}s. Timing out"
130130
record_junit "run_sonobuoy" "wait_e2e_results" "FAILED"
131131
break
132132
fi

0 commit comments

Comments
 (0)