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:
parent
cc621bca3f
commit
ca839a5793
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class TestPathHandler < Minitest::Test
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_handler_boots
|
def test_handler_boots
|
||||||
host = Puma::IS_WINDOWS ? "127.0.0.1" : "0.0.0.0"
|
host = '127.0.0.1'
|
||||||
port = UniquePort.call
|
port = UniquePort.call
|
||||||
opts = { Host: host, Port: port }
|
opts = { Host: host, Port: port }
|
||||||
in_handler(app, opts) do |launcher|
|
in_handler(app, opts) do |launcher|
|
||||||
|
|
Loading…
Reference in a new issue