We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 659eb3a commit 4db7011Copy full SHA for 4db7011
test/net/http/test_https.rb
@@ -321,6 +321,7 @@ def test_identity_verify_failure
321
@log_tester = lambda {|_| }
322
ex = assert_raise(OpenSSL::SSL::SSLError){
323
http.request_get("/") {|res| }
324
+ sleep 0.5
325
}
326
re_msg = /certificate verify failed|hostname \"#{HOST_IP}\" does not match/
327
assert_match(re_msg, ex.message)
test/net/http/utils.rb
@@ -252,6 +252,7 @@ def setup
252
end
253
254
def teardown
255
+ sleep 0.5 if @config['ssl_enable']
256
if @server
257
@server.shutdown
258
0 commit comments