test: start sync after agent start
This commit is contained in:
parent
bb3b099d60
commit
f53b90c16b
|
@ -149,6 +149,7 @@ func (a *TestAgent) Start() *TestAgent {
|
|||
panic(fmt.Sprintf("Error starting agent: %s", err))
|
||||
})
|
||||
|
||||
a.Agent.StartSync()
|
||||
var out structs.IndexedNodes
|
||||
retry.Run(&panicFailer{}, func(r *retry.R) {
|
||||
if len(a.httpServers) == 0 {
|
||||
|
|
Loading…
Reference in New Issue