DEV: Increment attempts for ce91767b90
(#27413)
If we don't increment attempts, we will retry forever.
This commit is contained in:
parent
ce91767b90
commit
27efa2d8b7
|
@ -535,6 +535,7 @@ RSpec.configure do |config|
|
|||
self._using_session(name, &block)
|
||||
rescue Socket::ResolutionError
|
||||
puts "Socket::ResolutionError error encountered... Current thread count: #{Thread.list.size}"
|
||||
attempts += 1
|
||||
attempts <= 1 ? retry : raise
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue