From 1f3d2701f32a68e3ea86174f204834735c48c367 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 13 Jun 2018 22:24:19 +0100 Subject: [PATCH] agent: add additional assertion to test --- agent/agent_endpoint_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/agent_endpoint_test.go b/agent/agent_endpoint_test.go index 2416cb289..0ca9effd2 100644 --- a/agent/agent_endpoint_test.go +++ b/agent/agent_endpoint_test.go @@ -1691,6 +1691,7 @@ func TestAgent_DeregisterService_withManagedProxy(t *testing.T) { } // Get the proxy ID + require.Len(a.State.Proxies(), 1) var proxyID string for _, p := range a.State.Proxies() { proxyID = p.Proxy.ProxyService.ID