diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb index 64101b6bda..660104d048 100644 --- a/test/net/http/test_https.rb +++ b/test/net/http/test_https.rb @@ -212,6 +212,8 @@ class TestNetHTTPS < Test::Unit::TestCase http.cert_store = TEST_STORE http.verify_hostname = false assert_nothing_raised { http.start } + ensure + http&.finish end end