diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-25 07:57:35 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-25 07:57:35 +0000 |
commit | 602a9c1416e0519f95c502ff13110e5dd08d199d (patch) | |
tree | 8739081c7bb860cd787ef973b96a72f9d12303d6 /test/ruby | |
parent | d7442c32df355ccb3f793a594723acae2a571d0f (diff) | |
download | ruby-602a9c1416e0519f95c502ff13110e5dd08d199d.tar.gz |
* 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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_time.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |