mirror of https://github.com/status-im/consul.git
fix broken test (#12741)
This commit is contained in:
parent
231e5b61e7
commit
9fb8616bac
|
@ -282,7 +282,7 @@ func TestDiscoveryChainRead(t *testing.T) {
|
||||||
|
|
||||||
expectTarget_DC1 := targetWithConnectTimeout(
|
expectTarget_DC1 := targetWithConnectTimeout(
|
||||||
newTarget("web", "", "default", "default", "dc1"),
|
newTarget("web", "", "default", "default", "dc1"),
|
||||||
33*time.Second,
|
22*time.Second,
|
||||||
)
|
)
|
||||||
expectTarget_DC1.MeshGateway = structs.MeshGatewayConfig{
|
expectTarget_DC1.MeshGateway = structs.MeshGatewayConfig{
|
||||||
Mode: structs.MeshGatewayModeLocal,
|
Mode: structs.MeshGatewayModeLocal,
|
||||||
|
@ -290,7 +290,7 @@ func TestDiscoveryChainRead(t *testing.T) {
|
||||||
|
|
||||||
expectTarget_DC2 := targetWithConnectTimeout(
|
expectTarget_DC2 := targetWithConnectTimeout(
|
||||||
newTarget("web", "", "default", "default", "dc2"),
|
newTarget("web", "", "default", "default", "dc2"),
|
||||||
33*time.Second,
|
22*time.Second,
|
||||||
)
|
)
|
||||||
expectTarget_DC2.MeshGateway = structs.MeshGatewayConfig{
|
expectTarget_DC2.MeshGateway = structs.MeshGatewayConfig{
|
||||||
Mode: structs.MeshGatewayModeLocal,
|
Mode: structs.MeshGatewayModeLocal,
|
||||||
|
|
Loading…
Reference in New Issue