Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_integration.erb - fix intermittent test
Fixes test_sigterm_closes_listeners_on_forked_servers When the test was added in PR puma#1802, it used the rackup/1second.ru file, which provided a fixed one second delay. PR puma#1903 removed the 1second.ru file and added a sleep.ru file, which allowed variable timing. But, the 'sleep1' path was added to only one of the test's two connect calls. The test has passed most of the time, but intermittently fails. This adds the 1 second delay to the 2nd connect call, which should make it stable.
- Loading branch information