diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 04:06:15 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-08 04:06:15 +0000 |
commit | 3f1524f0d26f19434d5f9f188db3a49d6c3f1b0a (patch) | |
tree | d60786e09e02f956bedaf8cec21e345cf93c5c6e | |
parent | 86dca76ef2faaa13706e99ac6b6f49d57348df86 (diff) |
test_ftp.rb: extend timeout for --jit-wait testing
to avoid random failures like
https://app.wercker.com/ruby/ruby/runs/mjit-test1/5be394b818310600284f2b50?step=5be394f1591ca800079b1329
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/net/ftp/test_ftp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/ftp/test_ftp.rb b/test/net/ftp/test_ftp.rb index 98322fdd57..0c01c7f797 100644 --- a/test/net/ftp/test_ftp.rb +++ b/test/net/ftp/test_ftp.rb @@ -2171,7 +2171,7 @@ EOF begin ftp = Net::FTP.new ftp.resume = resume - ftp.read_timeout = RubyVM::MJIT.enabled? ? 1 : 0.2 # use large timeout for --jit-wait + ftp.read_timeout = RubyVM::MJIT.enabled? ? 5 : 0.2 # use large timeout for --jit-wait ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) |