From 5df8dacfc0f26e2ed441b9dee6a8464e44808fe8 Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 3 Sep 2020 15:33:37 +0200 Subject: [PATCH] MOBILE-3523 e2e: Rerun tests to avoid flaky test failures --- scripts/test_e2e.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test_e2e.sh b/scripts/test_e2e.sh index 22edff551..2032b68cb 100755 --- a/scripts/test_e2e.sh +++ b/scripts/test_e2e.sh @@ -50,7 +50,7 @@ print_title "Running e2e tests" # Run tests for tags in "$@" do - $dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/run.php --tags=\"$tags\"" + $dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/run.php --tags=\"$tags\" --auto-rerun" notify_on_error_exit "Some e2e tests are failing, please review" done