mirror of
https://github.com/status-im/consul.git
synced 2025-02-08 11:54:12 +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
|
// 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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user