1
0
mirror of https://github.com/golang/go synced 2024-09-24 09:30:13 -06:00

cmd/dist: increase timeout scale to 3 for windows

cmd/go can sometimes take up to 400s on windows due
to various issues (disk I/O on builders being the
latest cause). Increase the timeout scale to account
for this.

Change-Id: I1fd4964472a70fb0f33cf6ed73298c034b9c1fb0
Reviewed-on: https://go-review.googlesource.com/120762
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Andrew 2018-06-25 20:24:37 +00:00 committed by Andrew Bonventre
parent 7e9d55eeeb
commit 3c586d4483

View File

@ -308,7 +308,7 @@ func (t *tester) registerStdTest(pkg string) {
timeoutSec := 180
for _, pkg := range stdMatches {
if pkg == "cmd/go" {
timeoutSec *= 2
timeoutSec *= 3
break
}
}