test: use less aggressive retry for agent startup

This commit is contained in:
Frank Schroeder 2017-05-21 20:59:43 +02:00
parent 47501309ae
commit 06677708cf
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 1 additions and 1 deletions

View File

@ -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