build: increase timeout in run.rc

Increasing the timeout prevents the runtime test
to time out on the Plan 9 instances running on GCE.

Update golang/go#9491

Change-Id: Id9c2b0c4e59b103608565168655799b353afcd77
Reviewed-on: https://go-review.googlesource.com/2462
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
David du Colombier 2015-01-07 23:32:34 +01:00 committed by Brad Fitzpatrick
parent b2aab72d9a
commit 8c69ce0b90
1 changed files with 2 additions and 2 deletions

View File

@ -29,13 +29,13 @@ if not {
GOROOT_FINAL = () GOROOT_FINAL = ()
echo '# Testing packages.' echo '# Testing packages.'
time go test std -short -timeout 120s time go test std -short -timeout 240s
echo echo
# We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code, # We set GOMAXPROCS=2 in addition to -cpu=1,2,4 in order to test runtime bootstrap code,
# creation of first goroutines and first garbage collections in the parallel setting. # creation of first goroutines and first garbage collections in the parallel setting.
echo '# GOMAXPROCS=2 runtime -cpu=1,2,4' echo '# GOMAXPROCS=2 runtime -cpu=1,2,4'
GOMAXPROCS=2 go test runtime -short -timeout 240s -cpu 1,2,4 GOMAXPROCS=2 go test runtime -short -timeout 480s -cpu 1,2,4
echo echo
echo '# sync -cpu=10' echo '# sync -cpu=10'