A platform for community discussion. Free, open, simple.
DEV: Increment attempts for ce91767b90bc6e19b6e8f2a4bb88f07b0ca7355a (#27413)
Alan Guo Xiang Tan27efa2d8b79c
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rbindex c7ad52d781b..c127fa662dc 100644--- a/spec/rails_helper.rb+++ b/spec/rails_helper.rb@@ -535,6 +535,7 @@ RSpec.configure do |config|self._using_session(name, &block)rescue Socket::ResolutionErrorputs "Socket::ResolutionError error encountered... Current thread count: #{Thread.list.size}"+ attempts += 1attempts <= 1 ? retry : raiseendend