Skip to content

Commit

Permalink
NET-4932 - xds v2 - implement base connect proxy functionality for en…
Browse files Browse the repository at this point in the history
…dpoints
  • Loading branch information
jmurret committed Aug 17, 2023
1 parent 735ccc5 commit 2f4166e
Show file tree
Hide file tree
Showing 10 changed files with 801 additions and 34 deletions.
3 changes: 2 additions & 1 deletion agent/xds/clusters_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package xds

import (
"bytes"
"github.com/hashicorp/consul/types"
"path/filepath"
"sort"
"testing"
Expand All @@ -26,7 +27,6 @@ import (
"github.com/hashicorp/consul/agent/xdsv2"
"github.com/hashicorp/consul/envoyextensions/xdscommon"
"github.com/hashicorp/consul/sdk/testutil"
"github.com/hashicorp/consul/types"
)

type mockCfgFetcher struct {
Expand Down Expand Up @@ -1138,6 +1138,7 @@ func TestClustersFromSnapshot(t *testing.T) {
require.NoError(t, err)

clusters = res[xdscommon.ClusterType]

// The order of clusters returned via CDS isn't relevant, so it's safe
// to sort these for the purposes of test comparisons.
sort.Slice(clusters, func(i, j int) bool {
Expand Down
Loading

0 comments on commit 2f4166e

Please sign in to comment.