]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: let misc/cgo/testshared test timeout be scaled by slow builder
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 15 Dec 2017 16:34:39 +0000 (16:34 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 15 Dec 2017 18:40:06 +0000 (18:40 +0000)
commitf2ddcca22467c00c058f352aa51e6bbcfb530de3
treee0bb40cbcad2ccfc9ad65619ca3e9d52951f8975
parentfdecaa837cf94f6679a7683c1929e3b22ab1e07d
cmd/dist: let misc/cgo/testshared test timeout be scaled by slow builder

The default test timeout is 10 minutes if unspecified.

The misc/cgo/testshared test didn't use t.timeout(sec), which respects
GO_TEST_TIMEOUT_SCALE, so all builders got the default 10 minute
timeout. arm5 needs more, though, so specify 10 minutes explicitly,
which will then get scaled accordingly on slower builders.

Change-Id: I19ecfdcd9c865f2b69524484415b8fbd2852718e
Reviewed-on: https://go-review.googlesource.com/84315
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
src/cmd/dist/test.go