mirror of https://github.com/status-im/consul.git
test: start sync after agent start
This commit is contained in:
parent
5b5566d916
commit
2e14c09447
|
@ -149,6 +149,7 @@ func (a *TestAgent) Start() *TestAgent {
|
||||||
panic(fmt.Sprintf("Error starting agent: %s", err))
|
panic(fmt.Sprintf("Error starting agent: %s", err))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
a.Agent.StartSync()
|
||||||
var out structs.IndexedNodes
|
var out structs.IndexedNodes
|
||||||
retry.Run(&panicFailer{}, func(r *retry.R) {
|
retry.Run(&panicFailer{}, func(r *retry.R) {
|
||||||
if len(a.httpServers) == 0 {
|
if len(a.httpServers) == 0 {
|
||||||
|
|
Loading…
Reference in New Issue