Skip to content

Commit

Permalink
Merge pull request #637 from basecamp/tests-wait-longer-for-health
Browse files Browse the repository at this point in the history
Be a bit more patient during tests
  • Loading branch information
djmb authored Jan 9, 2024
2 parents bb50546 + 9c681d4 commit 8b6d830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/integration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def assert_200(response)
assert_equal "200", code
end

def wait_for_healthy(timeout: 20)
def wait_for_healthy(timeout: 30)
timeout_at = Time.now + timeout
while docker_compose("ps -a | tail -n +2 | grep -v '(healthy)' | wc -l", capture: true) != "0"
if timeout_at < Time.now
Expand Down

0 comments on commit 8b6d830

Please sign in to comment.