mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
JRuby bind path may not exist
This commit is contained in:
parent
85aa134431
commit
ab64901504
1 changed files with 4 additions and 2 deletions
|
@ -30,8 +30,10 @@ class TestIntegration < Minitest::Test
|
|||
end
|
||||
end
|
||||
|
||||
refute File.exist?(@bind_path), "Bind path must be removed after stop"
|
||||
File.unlink(@bind_path) rescue nil
|
||||
if @bind_path
|
||||
refute File.exist?(@bind_path), "Bind path must be removed after stop"
|
||||
File.unlink(@bind_path) rescue nil
|
||||
end
|
||||
|
||||
# wait until the end for OS buffering?
|
||||
if defined?(@server) && @server
|
||||
|
|
Loading…
Add table
Reference in a new issue