Skip to content

Commit

Permalink
Fix broken xds test
Browse files Browse the repository at this point in the history
Due to lack of Merge ordering between envoyproxy#1257
and envoyproxy#1107

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed Apr 6, 2023
1 parent aeb2905 commit db30667
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/xds/translator/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (

"github.com/envoyproxy/gateway/internal/ir"
"github.com/envoyproxy/gateway/internal/xds/bootstrap"
"github.com/envoyproxy/gateway/internal/xds/server/runner"
)

const (
Expand All @@ -41,7 +40,7 @@ func TestBuildXdsCluster(t *testing.T) {

func TestBuildXdsClusterLoadAssignment(t *testing.T) {
bootstrapXdsCluster := getXdsClusterObjFromBootstrap(t)
destinations := []*ir.RouteDestination{{Host: envoyGatewayXdsServerHost, Port: runner.XdsServerPort}}
destinations := []*ir.RouteDestination{{Host: envoyGatewayXdsServerHost, Port: bootstrap.DefaultXdsServerPort}}

dynamicXdsClusterLoadAssignment := buildXdsClusterLoadAssignment(bootstrapXdsCluster.Name, destinations)

Expand Down

0 comments on commit db30667

Please sign in to comment.