Maintenance: Make CI browser tests more stable by being more generous when facing/retrying exceptions.
This commit is contained in:
parent
027a1d4d63
commit
bcd805134d
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ class TestCase < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
true
|
true
|
||||||
rescue Selenium::WebDriver::Error::StaleElementReferenceError
|
rescue
|
||||||
sleep retries
|
sleep retries
|
||||||
retries += 1
|
retries += 1
|
||||||
retry if retries < 3
|
retry if retries < 3
|
||||||
|
|
Loading…
Reference in a new issue