Commit 0aac9bb8 authored by Russ Cox's avatar Russ Cox

build: give windows builders extra time for tests

In the tests, the runtime test fails after 2 minutes.
On an unloaded VM it only takes 45 seconds.
I think the difference is all the other build work going on
simultaneously with the running of the runtime test.

Change-Id: I41e95d2e4daea44ceaa8505f81aa7b5bcfa9ec77
Reviewed-on: https://go-review.googlesource.com/6364Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
Reviewed-by: 's avatarMinux Ma <minux@golang.org>
Reviewed-by: 's avatarAlex Brainman <alex.brainman@gmail.com>
parent 4734464a
......@@ -38,7 +38,7 @@ del env.bat
echo.
echo ##### Testing packages.
go test std cmd -short -timeout=120s
go test std cmd -short -timeout=240s
if errorlevel 1 goto fail
echo.
......@@ -48,7 +48,7 @@ set OLDGOMAXPROCS=%GOMAXPROCS%
:: creation of first goroutines and first garbage collections in the parallel setting.
echo ##### GOMAXPROCS=2 runtime -cpu=1,2,4
set GOMAXPROCS=2
go test runtime -short -timeout=300s -cpu=1,2,4
go test runtime -short -timeout=600s -cpu=1,2,4
if errorlevel 1 goto fail
echo.
......@@ -56,7 +56,7 @@ set GOMAXPROCS=%OLDGOMAXPROCS%
set OLDGOMAXPROCS=
echo ##### sync -cpu=10
go test sync -short -timeout=120s -cpu=10
go test sync -short -timeout=240s -cpu=10
if errorlevel 1 goto fail
echo.
......
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