fix test that was failing after #6013 (#6026)

This commit is contained in:
R.B. Boyer 2019-06-27 09:31:19 -05:00 committed by GitHub
parent 3224bea082
commit 32f1e11b49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -106,6 +106,7 @@ func TestManager_BasicLifecycle(t *testing.T) {
// We should see the initial config delivered but not until after the // We should see the initial config delivered but not until after the
// coalesce timeout // coalesce timeout
expectSnap := &ConfigSnapshot{ expectSnap := &ConfigSnapshot{
Kind: structs.ServiceKindConnectProxy,
ProxyID: webProxy.ID, ProxyID: webProxy.ID,
Address: webProxy.Address, Address: webProxy.Address,
Port: webProxy.Port, Port: webProxy.Port,

View file

@ -149,6 +149,7 @@ func TestUpstreamNodes(t testing.T) structs.CheckServiceNodes {
func TestConfigSnapshot(t testing.T) *ConfigSnapshot { func TestConfigSnapshot(t testing.T) *ConfigSnapshot {
roots, leaf := TestCerts(t) roots, leaf := TestCerts(t)
return &ConfigSnapshot{ return &ConfigSnapshot{
Kind: structs.ServiceKindConnectProxy,
ProxyID: "web-sidecar-proxy", ProxyID: "web-sidecar-proxy",
Address: "0.0.0.0", Address: "0.0.0.0",
Port: 9999, Port: 9999,