From 602a9c1416e0519f95c502ff13110e5dd08d199d Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 25 Mar 2014 07:57:35 +0000 Subject: * test/ruby/test_time.rb: extended the timeout span and reduce the loop count. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_time.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_time.rb b/test/ruby/test_time.rb index b51ec2d294..3935905d04 100644 --- a/test/ruby/test_time.rb +++ b/test/ruby/test_time.rb @@ -311,12 +311,12 @@ class TestTime < Test::Unit::TestCase 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 -- cgit v1.2.3