Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/scenarios-periodics/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
KUBECONFIG="${SCENARIO_INFO_DIR}/${SCENARIO}/kubeconfig"
# Timeout in seconds
TIMEOUT_TEST=7400
TIMEOUT_RESULTS=300
TIMEOUT_RESULTS=600

prepare_hosts() {
local -r primary_host_ip=$(cat "${SCENARIO_INFO_DIR}/${SCENARIO}/vms/host1/public_ip")
Expand Down Expand Up @@ -93,7 +93,7 @@ run_sonobuoy() {
fi
record_junit "run_sonobuoy" "wait_e2e_running" "OK"

# Use 1h timeout. A normal run on 2 CPUs takes 40-45min.
# Note that a normal run on 2 CPUs takes 40-45min.
local -r stat_file="${SCENARIO_INFO_DIR}/${SCENARIO}/cncf_status.json"
start=$(date +%s)
while true ; do
Expand All @@ -105,7 +105,7 @@ run_sonobuoy() {
now=$(date +%s)
if [ $(( now - start )) -ge ${TIMEOUT_TEST} ]; then
rc=1
echo "Tests running for 1h. Timing out"
echo "Tests running for ${TIMEOUT_TEST}s. Timing out"
record_junit "run_sonobuoy" "wait_e2e_finished" "FAILED"
break
fi
Expand All @@ -126,7 +126,7 @@ run_sonobuoy() {
if [ $(( now - start )) -ge ${TIMEOUT_RESULTS} ]; then
rc=1
results=false
echo "Waited for results for 5m. Timing out"
echo "Waited for results for ${TIMEOUT_RESULTS}s. Timing out"
record_junit "run_sonobuoy" "wait_e2e_results" "FAILED"
break
fi
Expand Down