Skip to content

Commit 2504847

Browse files
committed
* test/net/http/test_https.rb (TestNetHTTPS#test_session_reuse): localhost is not (always) 127.0.0.1. Don't expect that.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent ab45063 commit 2504847

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/net/http/test_https.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def test_session_reuse
8080
socket = http.instance_variable_get(:@socket).io
8181

8282
assert socket.session_reused?
83+
rescue SystemCallError
84+
skip $!
8385
end
8486

8587
if ENV["RUBY_OPENSSL_TEST_ALL"]

0 commit comments

Comments
 (0)