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

ruby-changes:55897

From: Yusuke <ko1@a...>
Date: Wed, 29 May 2019 13:02:47 +0900 (JST)
Subject: [ruby-changes:55897] Yusuke Endoh: e04d10b28f (trunk): test/rubygems/test_gem_stream_ui.rb (test_ask_for_password): extend the timeout

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

From e04d10b28f47ea4d32f9562aedc4be9749415219 Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Wed, 29 May 2019 13:01:53 +0900
Subject: test/rubygems/test_gem_stream_ui.rb (test_ask_for_password): extend
 the timeout

for Solaris.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190528T191908Z.fail.html.gz

diff --git a/test/rubygems/test_gem_stream_ui.rb b/test/rubygems/test_gem_stream_ui.rb
index 7367d36..33c2530 100644
--- a/test/rubygems/test_gem_stream_ui.rb
+++ b/test/rubygems/test_gem_stream_ui.rb
@@ -56,7 +56,7 @@ class TestGemStreamUI < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_stream_ui.rb#L56
   end
 
   def test_ask_for_password
-    Timeout.timeout(1) do
+    Timeout.timeout(5) do
       expected_answer = "Arthur, King of the Britons"
       @in.string = "#{expected_answer}\n"
       actual_answer = @sui.ask_for_password("What is your name?")
-- 
cgit v0.10.2


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

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