Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-27 18:06:55 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-27 18:06:55 +0300
commit0847321aeec58e8885c18b64abd6732581ec33a4 (patch)
tree28a518bbc4b15f28e3cdd1a26814affd3b13aa57 /scripts
parent274a42ccfaa22f6d6bc2d21da0c891bae15d3508 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rspec_helpers.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/rspec_helpers.sh b/scripts/rspec_helpers.sh
index 8be98cb6346..c7f69778f1f 100644
--- a/scripts/rspec_helpers.sh
+++ b/scripts/rspec_helpers.sh
@@ -151,7 +151,9 @@ function debug_rspec_variables() {
function handle_retry_rspec_in_new_process() {
local rspec_run_status="${1}"
- if [[ $rspec_run_status -eq 2 ]]; then
+ if [[ $rspec_run_status -eq 3 ]]; then
+ echoerr "Not retrying failing examples since we failed early on purpose!"
+ elif [[ $rspec_run_status -eq 2 ]]; then
echoerr "Not retrying failing examples since there were errors happening outside of the RSpec examples!"
elif [[ $rspec_run_status -eq 1 ]]; then
# Experiment to retry failed examples in a new RSpec process: https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/1148