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

ruby-changes:45390

From: nobu <ko1@a...>
Date: Mon, 30 Jan 2017 14:09:26 +0900 (JST)
Subject: [ruby-changes:45390] nobu:r57463 (trunk): reduce iterations for slower machines

nobu	2017-01-30 14:09:13 +0900 (Mon, 30 Jan 2017)

  New Revision: 57463

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

  Log:
    reduce iterations for slower machines

  Modified files:
    trunk/test/ruby/test_io.rb
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 57462)
+++ test/ruby/test_io.rb	(revision 57463)
@@ -3371,7 +3371,7 @@ __END__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3371
     assert_separately([], "#{<<-"begin;"}\n#{<<-"end;"}")
     bug13076 = '[ruby-core:78845] [Bug #13076]'
     begin;
-      100.times do |i|
+      10.times do |i|
         a = []
         t = []
         10.times do
@@ -3486,7 +3486,7 @@ __END__ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_io.rb#L3486
     end
 
     def test_closed_stream_in_rescue
-      100.times do
+      10.times do
         assert_nothing_raised(RuntimeError, /frozen IOError/) do
           IO.pipe do |r, w|
             th = Thread.start {r.close}

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

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