diff options
| author | Russ Cox <rsc@golang.org> | 2017-12-01 11:57:57 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2017-12-01 21:09:19 +0000 |
| commit | 496688b3cf81f92ee55c359cfbd8cd2c9d71c813 (patch) | |
| tree | e5c6fc61339e0ab23dc8eb5b4855b99856e816ab /src/net/http/export_test.go | |
| parent | 7684fe0bf1b60495621f888483199867ed52d54a (diff) | |
| download | go-496688b3cf81f92ee55c359cfbd8cd2c9d71c813.tar.xz | |
cmd/go: honor -timeout=0 to mean no timeout
The test binaries accept -timeout=0 to mean no timeout,
but then the backup timer in cmd/go kills the test after 1 minute.
Make cmd/go understand this special case and change
behavior accordingly.
Fixes #14780.
Change-Id: I66bf517173a4ad21d53a5ee88d163f04b8929fb6
Reviewed-on: https://go-review.googlesource.com/81499
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http/export_test.go')
0 files changed, 0 insertions, 0 deletions
