mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 10:58:25 +00:00
additional test fixes
This commit is contained in:
parent
d26b4860fd
commit
fe85138453
@ -71,6 +71,8 @@ func TestClustersFromSnapshot(t *testing.T) {
|
|||||||
})
|
})
|
||||||
snap.ConnectProxy.UpstreamConfig = map[string]*structs.Upstream{
|
snap.ConnectProxy.UpstreamConfig = map[string]*structs.Upstream{
|
||||||
"db": {
|
"db": {
|
||||||
|
// The local bind port is overridden by the escape hatch, but is required for explicit upstreams.
|
||||||
|
LocalBindPort: 9191,
|
||||||
Config: map[string]interface{}{
|
Config: map[string]interface{}{
|
||||||
"envoy_cluster_json": customAppClusterJSON(t, customClusterJSONOptions{
|
"envoy_cluster_json": customAppClusterJSON(t, customClusterJSONOptions{
|
||||||
Name: "myservice",
|
Name: "myservice",
|
||||||
|
@ -327,6 +327,8 @@ func TestEndpointsFromSnapshot(t *testing.T) {
|
|||||||
})
|
})
|
||||||
snap.ConnectProxy.UpstreamConfig = map[string]*structs.Upstream{
|
snap.ConnectProxy.UpstreamConfig = map[string]*structs.Upstream{
|
||||||
"db": {
|
"db": {
|
||||||
|
// The local bind port is overridden by the escape hatch, but is required for explicit upstreams.
|
||||||
|
LocalBindPort: 9191,
|
||||||
Config: map[string]interface{}{
|
Config: map[string]interface{}{
|
||||||
"envoy_cluster_json": customAppClusterJSON(t, customClusterJSONOptions{
|
"envoy_cluster_json": customAppClusterJSON(t, customClusterJSONOptions{
|
||||||
Name: "myservice",
|
Name: "myservice",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user