mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
626eda4c91
Different environments run on different hardware so response times vary based on hardware. Instead of hardcoding the timeout for `SystemHelpers#try_until_success` to 2 seconds, we change it such that it follows `Capybara.default_wait_timeout` which we have configured to be higher in environments which runs on lousier hardware. This change should reduce the amount of flakiness we're seeing on CI with tests that rely on `SystemHlpers#try_until_success`.