mirror of https://github.com/status-im/consul.git
test: use less aggressive retry for agent startup
This commit is contained in:
parent
47501309ae
commit
06677708cf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue