]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: increase timeout scale to 3 for windows
authorAndrew <andybons@golang.org>
Mon, 25 Jun 2018 20:24:37 +0000 (20:24 +0000)
committerAndrew Bonventre <andybons@golang.org>
Mon, 25 Jun 2018 20:52:59 +0000 (20:52 +0000)
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>

src/cmd/dist/test.go

index 756f1ddd4e8326431edfdff94fc69baac4445fbe..5be4bcfa65e74c440bf779e14804ec32174a584e 100644 (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
                                }
                        }