diff --git a/api/agent_test.go b/api/agent_test.go index 221c7d413..ce5a65dfd 100644 --- a/api/agent_test.go +++ b/api/agent_test.go @@ -293,6 +293,7 @@ func TestAPI_AgentServices_ManagedConnectProxyDeprecatedUpstreams(t *testing.T) defer s.Stop() agent := c.Agent() + s.WaitForSerfCheck(t) reg := &AgentServiceRegistration{ Name: "foo",