diff options
Diffstat (limited to 'spec/lib/gitlab/ci/config/entry/retry_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/config/entry/retry_spec.rb | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/spec/lib/gitlab/ci/config/entry/retry_spec.rb b/spec/lib/gitlab/ci/config/entry/retry_spec.rb index f9efd2e014d..bb3c0b0004d 100644 --- a/spec/lib/gitlab/ci/config/entry/retry_spec.rb +++ b/spec/lib/gitlab/ci/config/entry/retry_spec.rb @@ -95,14 +95,20 @@ describe Gitlab::Ci::Config::Entry::Retry do # values are valid. If they are not it means the documentation and this # array must be updated. RETRY_WHEN_IN_DOCUMENTATION = %w[ - always - unknown_failure - script_failure - api_failure - stuck_or_timeout_failure - runner_system_failure - missing_dependency_failure - runner_unsupported + always + unknown_failure + script_failure + api_failure + stuck_or_timeout_failure + runner_system_failure + missing_dependency_failure + runner_unsupported + stale_schedule + job_execution_timeout + archived_failure + unmet_prerequisites + scheduler_failure + data_integrity_failure ].freeze RETRY_WHEN_IN_DOCUMENTATION.each do |reason| |