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

ruby-changes:33327

From: usa <ko1@a...>
Date: Tue, 25 Mar 2014 16:57:39 +0900 (JST)
Subject: [ruby-changes:33327] usa:r45406 (trunk): * test/ruby/test_time.rb: extended the timeout span and reduce the loop count.

usa	2014-03-25 16:57:35 +0900 (Tue, 25 Mar 2014)

  New Revision: 45406

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45406

  Log:
    * test/ruby/test_time.rb: extended the timeout span and reduce the loop count.

  Modified files:
    trunk/test/ruby/test_time.rb
Index: test/ruby/test_time.rb
===================================================================
--- test/ruby/test_time.rb	(revision 45405)
+++ test/ruby/test_time.rb	(revision 45406)
@@ -311,12 +311,12 @@ class TestTime < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_time.rb#L311
   end
 
   def test_marshal_zone_gc
-    assert_separately(%w(--disable-gems), <<-'end;')
+    assert_separately(%w(--disable-gems), <<-'end;', timeout: 30)
       ENV["TZ"] = "JST-9"
       s = Marshal.dump(Time.now)
       t = Marshal.load(s)
       n = 0
-      done = 1000000
+      done = 100000
       while t.zone.dup == "JST" && n < done
         n += 1
       end

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

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