diff --git a/infra/inttest/run_pipeline.sh b/infra/inttest/run_pipeline.sh index bcad48f..3ce571b 100755 --- a/infra/inttest/run_pipeline.sh +++ b/infra/inttest/run_pipeline.sh @@ -427,11 +427,11 @@ envsubst < "$REPO_ROOT/infra/inttest/runner.yaml" \ | sed "s/:latest/:${IMAGE_TAG}/g" \ | kubectl apply -n "$NAMESPACE" -f - -log "Waiting for test runner to complete (timeout: 600s) ..." +log "Waiting for test runner to complete (timeout: 300s) ..." # Use kubectl wait which handles condition matching reliably. # Wait for Complete first; if that times out, check for Failed. JOB_DONE=false -if kubectl wait --for=condition=complete job/inttest-runner -n "$NAMESPACE" --timeout=600s 2>/dev/null; then +if kubectl wait --for=condition=complete job/inttest-runner -n "$NAMESPACE" --timeout=300s 2>/dev/null; then log "Test runner completed successfully" stage_end "integration_tests" "ok" JOB_DONE=true @@ -446,7 +446,7 @@ else fi fi if [ "$JOB_DONE" = false ]; then - log "Test runner timed out after 600s" + log "Test runner timed out after 300s" debug_pod_failure "inttest-runner" "app=inttest-runner" stage_fail "integration_tests" PIPELINE_EXIT_CODE=1 diff --git a/infra/inttest/runner.yaml b/infra/inttest/runner.yaml index e4f1e5b..4b37a97 100644 --- a/infra/inttest/runner.yaml +++ b/infra/inttest/runner.yaml @@ -21,7 +21,7 @@ metadata: tier: testing app.kubernetes.io/part-of: stonks-oracle spec: - activeDeadlineSeconds: 600 + activeDeadlineSeconds: 300 backoffLimit: 0 template: metadata: