1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/net
Yusuke Endoh 5908914ea2 test/net/http/test_http.rb: relax open_timeout limit
The test fails randomly on the CI of OpenCSW SPARC Solaris 10:

https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20200321T091909Z.fail.html.gz
```
  1) Failure:
TestNetHTTP_v1_2_chunked#test_timeout_during_HTTP_session [/export/home/rubyci/unstable10s/tmp/build/20200321T091909Z/ruby/test/net/http/test_http.rb:575]:
[Net::ReadTimeout] exception expected, not #<Net::OpenTimeout: execution expired>.
```

The environment uses RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE=20, so the open
timeout 0.1 sec. means 2.0 sec. for the environment, but it seems too
strict because the environment is painfully slow.
2020-03-21 23:09:17 +09:00
..
fixtures
ftp Skip test_abort_tls with --jit-wait for now 2020-03-12 18:43:03 -07:00
http test/net/http/test_http.rb: relax open_timeout limit 2020-03-21 23:09:17 +09:00
imap Add more debug print 2020-01-29 15:00:03 +09:00
pop
protocol Add max option to TestProtocol#create_mockio 2019-06-29 17:52:57 +09:00
smtp Removed unused variables 2019-06-30 08:45:01 +09:00