diff options
Diffstat (limited to 'scripts/rspec_helpers.sh')
-rw-r--r-- | scripts/rspec_helpers.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/rspec_helpers.sh b/scripts/rspec_helpers.sh index a67e1b8ac66..b31e3663eaa 100644 --- a/scripts/rspec_helpers.sh +++ b/scripts/rspec_helpers.sh @@ -304,6 +304,9 @@ function retry_failed_rspec_examples() { # Disable Crystalball on retry to not overwrite the existing report export CRYSTALBALL="false" + # Disable simplecov so retried tests don't override test coverage report + export SIMPLECOV=0 + # Retry only the tests that failed on first try rspec_simple_job "--only-failures --pattern \"${KNAPSACK_TEST_FILE_PATTERN}\"" "${JUNIT_RETRY_FILE}" rspec_run_status=$? |