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

ruby-changes:41589

From: naruse <ko1@a...>
Date: Wed, 27 Jan 2016 02:18:45 +0900 (JST)
Subject: [ruby-changes:41589] naruse:r53663 (trunk): increase timeout for Solaris 10 SPARC

naruse	2016-01-27 02:19:36 +0900 (Wed, 27 Jan 2016)

  New Revision: 53663

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53663

  Log:
    increase timeout for Solaris 10 SPARC

  Modified files:
    trunk/test/ruby/test_array.rb
    trunk/test/ruby/test_fiber.rb
Index: test/ruby/test_fiber.rb
===================================================================
--- test/ruby/test_fiber.rb	(revision 53662)
+++ test/ruby/test_fiber.rb	(revision 53663)
@@ -284,7 +284,7 @@ class TestFiber < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_fiber.rb#L284
     env['RUBY_FIBER_VM_STACK_SIZE'] = vm_stack_size.to_s if vm_stack_size
     env['RUBY_FIBER_MACHINE_STACK_SIZE'] = machine_stack_size.to_s if machine_stack_size
     out, _ = Dir.mktmpdir("test_fiber") {|tmpdir|
-      EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir)
+      EnvUtil.invoke_ruby([env, '-e', script], '', true, true, chdir: tmpdir, timeout: 30)
     }
     use_length ? out.length : out
   end
Index: test/ruby/test_array.rb
===================================================================
--- test/ruby/test_array.rb	(revision 53662)
+++ test/ruby/test_array.rb	(revision 53663)
@@ -1821,7 +1821,7 @@ class TestArray < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_array.rb#L1821
     assert_equal(b, @cls[0, 1, 2, 3, 4][1, 4].permutation.to_a, bug3708)
 
     bug9932 = '[ruby-core:63103] [Bug #9932]'
-    assert_separately([], <<-"end;") #    do
+    assert_separately([], <<-"end;", timeout: 30) #    do
       assert_nothing_raised(SystemStackError, "#{bug9932}") do
         assert_equal(:ok, Array.new(100_000, nil).permutation {break :ok})
       end

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

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