Commit f2b51f56 authored by Russ Cox's avatar Russ Cox

cmd/go: change deadline to 10 minutes

1 minute is not enough for the slower builders.

R=adg
CC=golang-dev
https://golang.org/cl/5533068
parent feaa9ed1
......@@ -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)
......
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