1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/rubygems/test_gem_stream_ui.rb (test_ask): extend the timeout

for Solaris.

https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190525T211908Z.fail.html.gz
This commit is contained in:
Yusuke Endoh 2019-05-26 15:23:21 +09:00
parent aaf6c678d2
commit f20af9543f

View file

@ -38,7 +38,7 @@ class TestGemStreamUI < Gem::TestCase
end
def test_ask
Timeout.timeout(1) do
Timeout.timeout(5) do
expected_answer = "Arthur, King of the Britons"
@in.string = "#{expected_answer}\n"
actual_answer = @sui.ask("What is your name?")