mirror of https://github.com/hashicorp/consul
test: start sync after agent start
parent
5b5566d916
commit
2e14c09447
|
@ -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