mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This commit tries another work around for the `Socket::ResolutionError: getaddrinfo: Temporary failure in name resolution` error we are seeing on CI. The problem with the previous workaround is that `Capybara.using_session` will attempt to resolve `localhost` before yielding the block which means our retry code is not hit. This problem may be related to https://bugs.ruby-lang.org/issues/20172 which hints at us potentially not being able to spin up threads on CI so I'm adding a debugging statement when stuff fails.