ruby-changes:53404
From: k0kubun <ko1@a...>
Date: Thu, 8 Nov 2018 13:06:20 +0900 (JST)
Subject: [ruby-changes:53404] k0kubun:r65620 (trunk): test_ftp.rb: extend timeout for --jit-wait testing
k0kubun 2018-11-08 13:06:15 +0900 (Thu, 08 Nov 2018) New Revision: 65620 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65620 Log: 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 Modified files: trunk/test/net/ftp/test_ftp.rb Index: test/net/ftp/test_ftp.rb =================================================================== --- test/net/ftp/test_ftp.rb (revision 65619) +++ test/net/ftp/test_ftp.rb (revision 65620) @@ -2171,7 +2171,7 @@ EOF https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L2171 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/