mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 00:46:43 +00:00
parent
f4304e2e5b
commit
f7fdf18335
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user