mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 17:03:31 +00:00
test: retry a bit more often
This commit is contained in:
parent
659d7dbbde
commit
24eec373de
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user