mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
fix jruby bug (#1304)
This commit is contained in:
parent
ebae6371e6
commit
bd453f8108
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class TestIntegration < Minitest::Test
|
||||||
end
|
end
|
||||||
|
|
||||||
def wait_for_server_to_boot
|
def wait_for_server_to_boot
|
||||||
true while @server.gets =~ /Ctrl-C/
|
true while @server.gets !~ /Ctrl-C/ # wait for server to say it booted
|
||||||
sleep(Puma.jruby? ? 5 : 1) # TODO: not sure why that is needed ... something deterministic would be better
|
sleep(Puma.jruby? ? 5 : 1) # TODO: not sure why that is needed ... something deterministic would be better
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue