Skip to content

Use omit instead of skip for test-unit #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/net/http/test_https.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_post
def test_session_reuse
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
# See https://github.com/openssl/openssl/pull/5967 for details.
skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
omit if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/

http = Net::HTTP.new(HOST, config("port"))
http.use_ssl = true
Expand All @@ -164,7 +164,7 @@ def test_session_reuse

def test_session_reuse_but_expire
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
skip if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/
omit if OpenSSL::OPENSSL_LIBRARY_VERSION =~ /OpenSSL 1.1.0h/

http = Net::HTTP.new(HOST, config("port"))
http.use_ssl = true
Expand Down
2 changes: 1 addition & 1 deletion test/net/http/test_https_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_https_proxy_authentication
begin
OpenSSL
rescue LoadError
skip 'autoload problem. see [ruby-dev:45021][Bug #5786]'
omit 'autoload problem. see [ruby-dev:45021][Bug #5786]'
end

TCPServer.open("127.0.0.1", 0) {|serv|
Expand Down