Commit d42cc102 authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

cmd/dist: set timeout for go1 benchmark too

so that GO_TEST_TIMEOUT_SCALE can be applied too.
It's for the mips64 builder, which is so slow that the
go1 benchmark can't finish startup within 10 minutes.

Change-Id: I1b824eb0649460101b294fb442da784e872403e7
Reviewed-on: https://go-review.googlesource.com/16901Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 3a304989
...@@ -463,7 +463,7 @@ func (t *tester) registerTests() { ...@@ -463,7 +463,7 @@ func (t *tester) registerTests() {
} }
} }
if t.goos != "android" && !t.iOS() { if t.goos != "android" && !t.iOS() {
t.registerTest("bench_go1", "../test/bench/go1", "go", "test") t.registerTest("bench_go1", "../test/bench/go1", "go", "test", t.timeout(600))
} }
if t.goos != "android" && !t.iOS() { if t.goos != "android" && !t.iOS() {
const nShards = 5 const nShards = 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment