Skip to content

Commit

Permalink
Avoid making a DNS request in aggregated_cluster_test
Browse files Browse the repository at this point in the history
  • Loading branch information
arjan-bal committed Aug 26, 2024
1 parent f8d98a4 commit 9fde4a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ func (s) TestAggregateCluster_BadDNS_GoodEDS(t *testing.T) {
NodeID: nodeID,
Clusters: []*v3clusterpb.Cluster{
makeAggregateClusterResource(clusterName, []string{dnsClusterName, edsClusterName}),
makeLogicalDNSClusterResource(dnsClusterName, "bad.ip.v4.address", 8080),
makeLogicalDNSClusterResource(dnsClusterName, "bad%ipv4%address", 8080), // Invalid URL to avoid making a DNS request.
e2e.DefaultCluster(edsClusterName, edsServiceName, e2e.SecurityLevelNone),
},
Endpoints: []*v3endpointpb.ClusterLoadAssignment{e2e.DefaultEndpoint(edsServiceName, "localhost", []uint32{uint32(edsPort)})},
Expand Down

0 comments on commit 9fde4a8

Please sign in to comment.