Skip to content

Commit

Permalink
* test/net/http/test_https.rb (TestNetHTTPS#test_session_reuse): loca…
Browse files Browse the repository at this point in the history
…lhost 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
  • Loading branch information
shyouhei committed Jul 26, 2012
1 parent ab45063 commit 2504847
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/net/http/test_https.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def test_session_reuse
socket = http.instance_variable_get(:@socket).io

assert socket.session_reused?
rescue SystemCallError
skip $!
end

if ENV["RUBY_OPENSSL_TEST_ALL"]
Expand Down

0 comments on commit 2504847

Please sign in to comment.