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

ruby-changes:64770

From: Takashi <ko1@a...>
Date: Wed, 6 Jan 2021 16:03:00 +0900 (JST)
Subject: [ruby-changes:64770] d9fdca81ac (master): 600x larger timeout for Reline

https://git.ruby-lang.org/ruby.git/commit/?id=d9fdca81ac

From d9fdca81ac0e4e98314b385b2f245951aaccd50c Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 5 Jan 2021 23:02:01 -0800
Subject: 600x larger timeout for Reline

I didn't notice it's msec. 2.5s is too short.
http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3311385

diff --git a/test/reline/test_within_pipe.rb b/test/reline/test_within_pipe.rb
index 60ee76b..70a0e0a 100644
--- a/test/reline/test_within_pipe.rb
+++ b/test/reline/test_within_pipe.rb
@@ -8,7 +8,7 @@ class Reline::WithinPipeTest < Reline::TestCase https://github.com/ruby/ruby/blob/trunk/test/reline/test_within_pipe.rb#L8
     @reader, @output_writer = IO.pipe((RELINE_TEST_ENCODING rescue Encoding.default_external))
     @output = Reline.output = @output_writer
     @config = Reline.send(:core).config
-    @config.keyseq_timeout *= 5 if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # for --jit-wait CI
+    @config.keyseq_timeout *= 600 if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? # for --jit-wait CI
     @line_editor = Reline.send(:core).line_editor
   end
 
-- 
cgit v0.10.2


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

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