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_for_password): extend the timeout
for Solaris. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190528T191908Z.fail.html.gz
This commit is contained in:
parent
8187ffa461
commit
e04d10b28f
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class TestGemStreamUI < Gem::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_ask_for_password
|
def test_ask_for_password
|
||||||
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_for_password("What is your name?")
|
actual_answer = @sui.ask_for_password("What is your name?")
|
||||||
|
|
Loading…
Add table
Reference in a new issue