From d42cc10283b611eb6799a3d46593777dc2174f34 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Thu, 12 Nov 2015 20:05:06 -0500 Subject: [PATCH] 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/16901 Reviewed-by: Ian Lance Taylor --- src/cmd/dist/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index d699636c15..77f7216b25 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -463,7 +463,7 @@ func (t *tester) registerTests() { } } 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() { const nShards = 5