1
0
Fork 0
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:
Michael Grosser 2017-05-29 17:52:04 -07:00 committed by Nate Berkopec
parent ebae6371e6
commit bd453f8108

View file

@ -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