]> Cypherpunks repositories - gostls13.git/commit
net/http: increase timeout length for TestOnlyWriteTimeout
authorRichard Miller <miller.research@gmail.com>
Fri, 16 Feb 2018 17:01:52 +0000 (17:01 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 16 Feb 2018 17:26:20 +0000 (17:26 +0000)
commit0db53dede6f55f12a7e66d71f8c725cd200c3f54
tree23b54fcf8f44ddc47343004417e56a15f011c28c
parentb1dbce31d7bbd7c3fdff1679d6f08c107d0be9a5
net/http: increase timeout length for TestOnlyWriteTimeout

This test was sometimes timing out on the plan9/arm builder
(raspberry pi) when run in parallel with other network intensive
tests. It appears that tcp on the loopback interface could do
with some tuning for better performance on Plan 9, but until
that's done, increasing the timeout from 5 to 10 seconds allows
this test to pass.  This should have no effect on other platforms
where 5 seconds was already enough.

Change-Id: If310ee569cae8ca8f56346d84ce23803feb23a41
Reviewed-on: https://go-review.googlesource.com/94796
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/serve_test.go