additional test fixes

This commit is contained in:
freddygv 2021-12-13 18:03:19 -07:00
parent e1d4797561
commit be85ae11ca
2 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,8 @@ func TestClustersFromSnapshot(t *testing.T) {
})
snap.ConnectProxy.UpstreamConfig = map[string]*structs.Upstream{
"db": {
// The local bind port is overridden by the escape hatch, but is required for explicit upstreams.
LocalBindPort: 9191,
Config: map[string]interface{}{
"envoy_cluster_json": customAppClusterJSON(t, customClusterJSONOptions{
Name: "myservice",

View File

@ -327,6 +327,8 @@ func TestEndpointsFromSnapshot(t *testing.T) {
})
snap.ConnectProxy.UpstreamConfig = map[string]*structs.Upstream{
"db": {
// The local bind port is overridden by the escape hatch, but is required for explicit upstreams.
LocalBindPort: 9191,
Config: map[string]interface{}{
"envoy_cluster_json": customAppClusterJSON(t, customClusterJSONOptions{
Name: "myservice",