1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

test_rack_handler.rb - fix intermittent JRuby CI failures

We're testing the rack handler here, if JRuby handling of '0.0.0.0' isn't working, it should be elsewhere
This commit is contained in:
MSP-Greg 2021-04-16 19:25:25 -05:00
parent cc621bca3f
commit ca839a5793
No known key found for this signature in database
GPG key ID: D688DA4A77D8FA18

View file

@ -44,7 +44,7 @@ class TestPathHandler < Minitest::Test
end
def test_handler_boots
host = Puma::IS_WINDOWS ? "127.0.0.1" : "0.0.0.0"
host = '127.0.0.1'
port = UniquePort.call
opts = { Host: host, Port: port }
in_handler(app, opts) do |launcher|