]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: change deadline to 10 minutes
authorRuss Cox <rsc@golang.org>
Wed, 11 Jan 2012 20:44:31 +0000 (12:44 -0800)
committerRuss Cox <rsc@golang.org>
Wed, 11 Jan 2012 20:44:31 +0000 (12:44 -0800)
1 minute is not enough for the slower builders.

R=adg
CC=golang-dev
https://golang.org/cl/5533068

src/cmd/go/test.go

index ad34ba22ac3610da3de217e4333c0a311372525a..0272614e177198a106951b2ecafd39655e459bd9 100644 (file)
@@ -469,7 +469,12 @@ func (b *builder) runTest(a *action) error {
 
        t0 := time.Now()
        err := cmd.Start()
-       const deadline = 1 * time.Minute
+
+       // This is a last-ditch deadline to detect and
+       // stop wedged test binaries, to keep the builders
+       // running.
+       const deadline = 10 * time.Minute
+
        tick := time.NewTimer(deadline)
        if err == nil {
                done := make(chan error)