test: start sync after agent start

This commit is contained in:
Frank Schroeder 2017-05-23 02:44:14 +02:00
parent bb3b099d60
commit f53b90c16b
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 1 additions and 0 deletions

View File

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