Skip to content

Commit

Permalink
Be a bit more patient during tests.
Browse files Browse the repository at this point in the history
Seeing reasonably consistent local failures at 20 seconds.
  • Loading branch information
mdkent committed Jan 8, 2024
1 parent 457f06d commit 6fabe94
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 6fabe94

Please sign in to comment.