Skip to content

Commit

Permalink
test: use less aggressive retry for agent startup
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed May 21, 2017
1 parent 309b80c commit 138d16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/testagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (a *TestAgent) Start() *TestAgent {
a.Agent = agent
a.Agent.LogOutput = a.LogOutput
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()
if err == nil {
return
Expand Down

0 comments on commit 138d16f

Please sign in to comment.