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)
This commit is contained in:
Amir Zarrinkafsh 2019-12-29 00:28:01 +11:00
parent 6e946dc859
commit e85fc6b1b2

View File

@ -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:"