diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-30 06:08:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-30 06:08:43 +0300 |
commit | ad7214cbd7285f1422cf0d82f6b9cfb0f5995e23 (patch) | |
tree | 1a4c41d9dcca2d487b036df667f4991af45d7093 /qa/spec | |
parent | 420215876fadcc44935e7937cb56f7ffe5212ecb (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa/spec')
-rw-r--r-- | qa/spec/support/matchers/eventually_matcher.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/spec/support/matchers/eventually_matcher.rb b/qa/spec/support/matchers/eventually_matcher.rb index 2b59b954102..dfedc7f3d99 100644 --- a/qa/spec/support/matchers/eventually_matcher.rb +++ b/qa/spec/support/matchers/eventually_matcher.rb @@ -55,12 +55,13 @@ module Matchers def wait_and_check(actual, expectation_name) attempt = 0 + QA::Runtime::Logger.debug("Running eventually matcher with '#{operator_msg}' operator") QA::Support::Retrier.retry_until( max_attempts: @attempts, max_duration: @duration, sleep_interval: @interval || 0.5 ) do - QA::Runtime::Logger.debug("Evaluating expectation '#{operator_msg}', attempt: #{attempt += 1}") + QA::Runtime::Logger.debug("evaluating expectation, attempt: #{attempt += 1}") public_send(expectation_name, actual) rescue RSpec::Expectations::ExpectationNotMetError, QA::Resource::ApiFabricator::ResourceNotFoundError |