mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -07: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
@ -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…
Reference in New Issue
Block a user