From: Ian Jackson Date: Thu, 8 Oct 2020 16:46:39 +0000 (+0100) Subject: Honour OSSTEST_SIMULATE_FAIL_RETRY for immediate retries X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3ee19333104cd010fb5b5958fdbe3507d0b75f7a;p=osstest.git Honour OSSTEST_SIMULATE_FAIL_RETRY for immediate retries This is primarily useful for debugging the immediate-retry logic, but it seems churlish to delete it again. Signed-off-by: Ian Jackson --- diff --git a/cr-daily-branch b/cr-daily-branch index bea8734..3e58d46 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -517,6 +517,10 @@ while true; do --branch=$branch --revision-osstest=$narness_rev \ '^build-*' --debug --blessings=real + if [ "${OSSTEST_SIMULATE_FAIL_RETRY+y}" = y ]; then + export OSSTEST_SIMULATE_FAIL="${OSSTEST_SIMULATE_FAIL_RETRY}" + fi + export OSSTEST_RESOURCE_WAITSTART=$original_start execute_flight $rflight $OSSTEST_BLESSING-retest report_flight $rflight