diff options
Diffstat (limited to 'qa/qa/support/waiter.rb')
-rw-r--r-- | qa/qa/support/waiter.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/qa/qa/support/waiter.rb b/qa/qa/support/waiter.rb index 6dbbd197b01..4a8fbaf1c4e 100644 --- a/qa/qa/support/waiter.rb +++ b/qa/qa/support/waiter.rb @@ -13,7 +13,8 @@ module QA sleep_interval: 0.1, raise_on_failure: true, retry_on_exception: false, - log: true + log: true, + message: nil ) result = nil repeat_until( @@ -22,7 +23,8 @@ module QA sleep_interval: sleep_interval, raise_on_failure: raise_on_failure, retry_on_exception: retry_on_exception, - log: log + log: log, + message: message ) do result = yield end |