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:
parent
aaf6c678d2
commit
f20af9543f
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class TestGemStreamUI < Gem::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_ask
|
def test_ask
|
||||||
Timeout.timeout(1) do
|
Timeout.timeout(5) do
|
||||||
expected_answer = "Arthur, King of the Britons"
|
expected_answer = "Arthur, King of the Britons"
|
||||||
@in.string = "#{expected_answer}\n"
|
@in.string = "#{expected_answer}\n"
|
||||||
actual_answer = @sui.ask("What is your name?")
|
actual_answer = @sui.ask("What is your name?")
|
||||||
|
|
Loading…
Add table
Reference in a new issue