diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2020-03-21 23:05:45 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2020-03-21 23:09:17 +0900 |
| commit | 5908914ea2dcb666e099747006e4de262b46ed77 (patch) | |
| tree | 6439066ca14e33dd05840bde9273a273c5463ec7 /lib/webrick/httpservlet | |
| parent | 5b287481befe03cc3e3dbc4b5571e21dbc523bae (diff) | |
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.
Diffstat (limited to 'lib/webrick/httpservlet')
0 files changed, 0 insertions, 0 deletions
