diff --git a/command/agent/testagent.go b/command/agent/testagent.go index 69a5357414..130d050032 100644 --- a/command/agent/testagent.go +++ b/command/agent/testagent.go @@ -130,7 +130,8 @@ func (a *TestAgent) Start() *TestAgent { a.Agent = agent a.Agent.LogOutput = a.LogOutput a.Agent.LogWriter = a.LogWriter - retry.RunWith(retry.ThreeTimes(), &panicFailer{}, func(r *retry.R) { + tenTimes := &retry.Counter{Count: 10, Wait: 100 * time.Millisecond} + retry.RunWith(tenTimes, &panicFailer{}, func(r *retry.R) { err := a.Agent.Start() if err == nil { return