diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 09:45:46 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 09:45:46 +0000 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /qa/qa/support/repeater.rb | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) | |
download | gitlab-ce-a7b3560714b4d9cc4ab32dffcd1f74a284b93580.tar.gz |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'qa/qa/support/repeater.rb')
-rw-r--r-- | qa/qa/support/repeater.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qa/qa/support/repeater.rb b/qa/qa/support/repeater.rb index a4e8035f964..1b9aa809051 100644 --- a/qa/qa/support/repeater.rb +++ b/qa/qa/support/repeater.rb @@ -1,10 +1,11 @@ # frozen_string_literal: true - require 'active_support/inflector' +require 'rainbow/refinement' module QA module Support module Repeater + using Rainbow DEFAULT_MAX_WAIT_TIME = 60 RepeaterConditionExceededError = Class.new(RuntimeError) @@ -39,7 +40,7 @@ module QA QA::Runtime::Logger.debug(msg.join(' ')) end - QA::Runtime::Logger.debug("Attempt number #{attempts + 1}") if log && max_attempts && attempts > 0 + QA::Runtime::Logger.debug("Attempt number #{attempts + 1}".bg(:yellow).black) if log && max_attempts && attempts > 0 result = yield if result |