mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
print server log in case integration test fails
This commit is contained in:
parent
9a4e4d45f4
commit
112da9d4ff
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class IntegrationTest < Test::Unit::TestCase
|
|||
end
|
||||
end
|
||||
rescue Timeout::Error => e
|
||||
$stderr.puts command, pipe.read if pipe
|
||||
raise error || e
|
||||
ensure
|
||||
Process.kill("TERM", pipe.pid) if pipe
|
||||
|
|
Loading…
Add table
Reference in a new issue