Skip to content

Commit d2f9872

Browse files
hsbtmatzbot
authored andcommitted
[ruby/rubygems] Omit tests of auto-attestation with JRuby
ruby/rubygems@543ac52412
1 parent 6ef9fe5 commit d2f9872

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

test/rubygems/test_gem_commands_push_command.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ def test_execute_host
103103
end
104104

105105
def test_execute_attestation
106+
omit if RUBY_ENGINE == "jruby"
107+
106108
@response = "Successfully registered gem: freewill (1.0.0)"
107109
@fetcher.data["#{Gem.host}/api/v1/gems"] = HTTPResponseFactory.create(body: @response, code: 200, msg: "OK")
108110

@@ -119,6 +121,8 @@ def test_execute_attestation
119121
end
120122

121123
def test_execute_attestation_auto
124+
omit if RUBY_ENGINE == "jruby"
125+
122126
@response = "Successfully registered gem: freewill (1.0.0)"
123127
@fetcher.data["#{Gem.host}/api/v1/gems"] = HTTPResponseFactory.create(body: @response, code: 200, msg: "OK")
124128

@@ -138,6 +142,8 @@ def test_execute_attestation_auto
138142
end
139143

140144
def test_execute_attestation_fallback
145+
omit if RUBY_ENGINE == "jruby"
146+
141147
@response = "Successfully registered gem: freewill (1.0.0)"
142148
@fetcher.data["#{Gem.host}/api/v1/gems"] = HTTPResponseFactory.create(body: @response, code: 200, msg: "OK")
143149

0 commit comments

Comments
 (0)