From e85fc6b1b2c76398b382f9e6e11e8c388f2a2462 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Sun, 29 Dec 2019 00:28:01 +1100 Subject: [PATCH] Automatically retry failed integration tests Default parameters retry on exit_status=* and will retry a single step a maximum of 2 times (3 total with initial failure) --- .buildkite/steps/e2etests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.buildkite/steps/e2etests.sh b/.buildkite/steps/e2etests.sh index 86aaa655..14c5f695 100755 --- a/.buildkite/steps/e2etests.sh +++ b/.buildkite/steps/e2etests.sh @@ -6,6 +6,8 @@ do echo " - label: \":selenium: ${SUITE_NAME} Suite\"" echo " commands:" echo " - \"authelia-scripts --log-level debug suites test ${SUITE_NAME} --headless\"" + echo " retry:" + echo " "automatic: true"" if [[ "${SUITE_NAME}" != "Kubernetes" ]]; then echo " agents:"