summaryrefslogtreecommitdiff
path: root/scripts/rspec_helpers.sh
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-26 15:09:27 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-26 15:09:27 +0000
commit5169b4a63b1e592e159b5451f81bc3c11602275f (patch)
tree2cfb5e8f0a4c2343579a2f56c8a60233bb6059b1 /scripts/rspec_helpers.sh
parent0594381ba711725d7d676db202902dfcbe9ec4a0 (diff)
downloadgitlab-ce-5169b4a63b1e592e159b5451f81bc3c11602275f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/rspec_helpers.sh')
-rw-r--r--scripts/rspec_helpers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rspec_helpers.sh b/scripts/rspec_helpers.sh
index 2aec8a67734..7ac6b98938f 100644
--- a/scripts/rspec_helpers.sh
+++ b/scripts/rspec_helpers.sh
@@ -196,8 +196,8 @@ function rspec_rerun_previous_failed_tests() {
local test_file_count=$(wc -w "${matching_tests_file}" | awk {'print $1'})
if [[ "${test_file_count}" -gt "${test_file_count_threshold}" ]]; then
- echo "This job is intentionally failed because there are more than ${test_file_count_threshold} test files to rerun."
- exit 1
+ echo "This job is intentionally exited because there are more than ${test_file_count_threshold} test files to rerun."
+ exit 0
fi
if [[ -n $test_files ]]; then