This commit is contained in:
Donal McBreen
2024-03-28 14:16:36 +00:00
parent 00061ce7aa
commit d47912572c
11 changed files with 29 additions and 37 deletions

View File

@@ -125,9 +125,9 @@ class IntegrationTest < ActiveSupport::TestCase
code = app_response.code
if code != expected_code
puts "Got response code #{code}, here are the proxy logs:"
kamal :proxy, :logs
kamal :proxy, :logs, raise_on_error: false
puts "And here are the load balancer logs"
docker_compose :logs, :load_balancer
docker_compose :logs, :load_balancer, raise_on_error: false
puts "Tried to get the response code again and got #{app_response.code}"
end
end