diff --git a/src/run.rc b/src/run.rc
index b0995d878737a39b2f1ad27ca5e510756d4c2a63..c0c66be359c09f7d7a1792c38fdf80871c43caca 100755
--- a/src/run.rc
+++ b/src/run.rc
@@ -29,13 +29,13 @@ if not {
 GOROOT_FINAL = ()
 
 echo '# Testing packages.'
-time go test std -short -timeout 120s
+time go test std -short -timeout 240s
 echo
 
 # 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.
 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 '# sync -cpu=10'