From f7fdf1833504552c67e1a1616acf4fe62b71378c Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" Date: Thu, 27 Jun 2019 09:31:19 -0500 Subject: [PATCH] fix test that was failing after #6013 (#6026) --- agent/proxycfg/manager_test.go | 1 + agent/proxycfg/testing.go | 1 + 2 files changed, 2 insertions(+) diff --git a/agent/proxycfg/manager_test.go b/agent/proxycfg/manager_test.go index 7a69bbadff..38c491f1d9 100644 --- a/agent/proxycfg/manager_test.go +++ b/agent/proxycfg/manager_test.go @@ -106,6 +106,7 @@ func TestManager_BasicLifecycle(t *testing.T) { // We should see the initial config delivered but not until after the // coalesce timeout expectSnap := &ConfigSnapshot{ + Kind: structs.ServiceKindConnectProxy, ProxyID: webProxy.ID, Address: webProxy.Address, Port: webProxy.Port, diff --git a/agent/proxycfg/testing.go b/agent/proxycfg/testing.go index caa17e2d8e..adeec155d1 100644 --- a/agent/proxycfg/testing.go +++ b/agent/proxycfg/testing.go @@ -149,6 +149,7 @@ func TestUpstreamNodes(t testing.T) structs.CheckServiceNodes { func TestConfigSnapshot(t testing.T) *ConfigSnapshot { roots, leaf := TestCerts(t) return &ConfigSnapshot{ + Kind: structs.ServiceKindConnectProxy, ProxyID: "web-sidecar-proxy", Address: "0.0.0.0", Port: 9999,