Skip to content

Commit

Permalink
Add intention to cluster peered golden test
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Eckert committed Oct 5, 2023
1 parent 4f830e9 commit b9a2e0f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion agent/xds/listeners_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ func TestListenersFromSnapshot(t *testing.T) {
roots, _ := proxycfg.TestCerts(t)
return proxycfg.TestConfigSnapshotTerminatingGateway(t, true, nil, []proxycfg.UpdateEvent{
{
CorrelationID: "peer-trust-bundle:",
CorrelationID: "peer-trust-bundle:web",
Result: &pbpeering.TrustBundleListByServiceResponse{
Bundles: []*pbpeering.PeeringTrustBundle{
{
Expand All @@ -1093,6 +1093,15 @@ func TestListenersFromSnapshot(t *testing.T) {
},
},
},
{
CorrelationID: "service-intentions:web",
Result: structs.SimplifiedIntentions{
{
SourceName: "*",
DestinationName: "web",
},
},
},
})
},
},
Expand Down

0 comments on commit b9a2e0f

Please sign in to comment.