mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Merge pull request #10003 from hashicorp/proxycfg-tproxy-ent-fixup
Fixup wildcard ent assertion
This commit is contained in:
commit
66de74767c
@ -1640,7 +1640,9 @@ func TestState_WatchesAndUpdates(t *testing.T) {
|
||||
|
||||
// Centrally configured upstream defaults should be stored so that upstreams from intentions can inherit them
|
||||
require.Len(t, snap.ConnectProxy.UpstreamConfig, 1)
|
||||
require.Contains(t, snap.ConnectProxy.UpstreamConfig, "*")
|
||||
|
||||
wc := structs.NewServiceName(structs.WildcardSpecifier, structs.WildcardEnterpriseMeta())
|
||||
require.Contains(t, snap.ConnectProxy.UpstreamConfig, wc.String())
|
||||
},
|
||||
},
|
||||
// Valid snapshot after roots, leaf, and intentions
|
||||
|
Loading…
x
Reference in New Issue
Block a user