зеркало из https://github.com/github/ruby.git
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:
Родитель
8187ffa461
Коммит
e04d10b28f
|
@ -56,7 +56,7 @@ class TestGemStreamUI < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_ask_for_password
|
||||
Timeout.timeout(1) do
|
||||
Timeout.timeout(5) do
|
||||
expected_answer = "Arthur, King of the Britons"
|
||||
@in.string = "#{expected_answer}\n"
|
||||
actual_answer = @sui.ask_for_password("What is your name?")
|
||||
|
|
Загрузка…
Ссылка в новой задаче