[前][次][番号順一覧][スレッド一覧]

ruby-changes:61123

From: David <ko1@a...>
Date: Fri, 8 May 2020 14:14:44 +0900 (JST)
Subject: [ruby-changes:61123] c982c5efac (master): [rubygems/rubygems] Skip flaky tests on jruby

https://git.ruby-lang.org/ruby.git/commit/?id=c982c5efac

From c982c5efac3985e989c02d10b8bc834b902c6e5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Fri, 10 Apr 2020 21:38:30 +0200
Subject: [rubygems/rubygems] Skip flaky tests on jruby

I believe these are most certainly due to a problem outside of rubygems.
I'm skipping these at least until webrick officially supports jruby
(defining "officially" as "webrick's CI passes on jruby").

https://github.com/rubygems/rubygems/commit/4fca025358

diff --git a/test/rubygems/test_gem_remote_fetcher.rb b/test/rubygems/test_gem_remote_fetcher.rb
index c8c3c2f..0781458 100644
--- a/test/rubygems/test_gem_remote_fetcher.rb
+++ b/test/rubygems/test_gem_remote_fetcher.rb
@@ -1051,6 +1051,8 @@ PeIQQkFng2VVot/WAQbv3ePqWq07g1BBcwIBAg== https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_remote_fetcher.rb#L1051
   end
 
   def start_ssl_server(config = {})
+    skip "starting this test server fails randomly on jruby" if Gem.java_platform?
+
     null_logger = NilLog.new
     server = WEBrick::HTTPServer.new({
       :Port => 0,
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]