summaryrefslogtreecommitdiff
path: root/test/reline/test_within_pipe.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-12-29 20:06:49 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-12-29 20:06:53 -0800
commit8e231ffa8c4fde25998f827cb965c4fd7d55c53d (patch)
tree7df1e48fe0d601ae275860fe7fc4ac1ecdce5625 /test/reline/test_within_pipe.rb
parentc550b75ce4c3e10dbdcefc7f5b09dc8959407ca0 (diff)
Increase timeout for reline with --jit-wait
for failures like: http://ci.rvm.jp/logfiles/brlog.trunk-mjit-wait.20201229-130509 http://ci.rvm.jp/logfiles/brlog.trunk-mjit-wait.20201229-165132 http://ci.rvm.jp/logfiles/brlog.trunk-mjit-wait.20201228-015519
Diffstat (limited to 'test/reline/test_within_pipe.rb')
-rw-r--r--test/reline/test_within_pipe.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/reline/test_within_pipe.rb b/test/reline/test_within_pipe.rb
index 53989a794f..60ee76b6da 100644
--- a/test/reline/test_within_pipe.rb
+++ b/test/reline/test_within_pipe.rb
@@ -8,6 +8,7 @@ class Reline::WithinPipeTest < Reline::TestCase
@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
@line_editor = Reline.send(:core).line_editor
end