From 2e14c094475fd5b9b28b290ea85ff924e39aeac4 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Tue, 23 May 2017 02:44:14 +0200 Subject: [PATCH] test: start sync after agent start --- command/agent/testagent.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/agent/testagent.go b/command/agent/testagent.go index fd4d42407b..8ed813a661 100644 --- a/command/agent/testagent.go +++ b/command/agent/testagent.go @@ -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 {