test: use less aggressive retry for agent startup
This commit is contained in:
parent
51a56cb973
commit
f6cc2c3fbb
|
@ -130,7 +130,7 @@ func (a *TestAgent) Start() *TestAgent {
|
||||||
a.Agent = agent
|
a.Agent = agent
|
||||||
a.Agent.LogOutput = a.LogOutput
|
a.Agent.LogOutput = a.LogOutput
|
||||||
a.Agent.LogWriter = a.LogWriter
|
a.Agent.LogWriter = a.LogWriter
|
||||||
retry.Run(&panicFailer{}, func(r *retry.R) {
|
retry.RunWith(retry.ThreeTimes(), &panicFailer{}, func(r *retry.R) {
|
||||||
err := a.Agent.Start()
|
err := a.Agent.Start()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue