mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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
This commit is contained in:
parent
feaa9ed10a
commit
f2b51f564f
1 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue