Skip to content

Commit

Permalink
Merge pull request #3442 from ggiguash/4.16_cncf_timeout
Browse files Browse the repository at this point in the history
[release-4.16] USHIFT-3266 Increase cncf result collection timeout to 10m
  • Loading branch information
openshift-merge-bot[bot] committed Jun 6, 2024
2 parents a0f7066 + 58d3d08 commit 061ebb0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/scenarios-periodics/el94-src@cncf-conformance.sh
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

0 comments on commit 061ebb0

Please sign in to comment.