mirror of https://github.com/status-im/consul.git
Fix config tests
This commit is contained in:
parent
cce7f1cca1
commit
b081c34255
|
@ -3415,6 +3415,7 @@ func TestFullConfig(t *testing.T) {
|
||||||
},
|
},
|
||||||
CheckUpdateInterval: 16507 * time.Second,
|
CheckUpdateInterval: 16507 * time.Second,
|
||||||
ClientAddrs: []*net.IPAddr{ipAddr("93.83.18.19")},
|
ClientAddrs: []*net.IPAddr{ipAddr("93.83.18.19")},
|
||||||
|
ConnectEnabled: true,
|
||||||
ConnectProxyBindMinPort: 2000,
|
ConnectProxyBindMinPort: 2000,
|
||||||
ConnectProxyBindMaxPort: 3000,
|
ConnectProxyBindMaxPort: 3000,
|
||||||
ConnectCAProvider: "b8j4ynx9",
|
ConnectCAProvider: "b8j4ynx9",
|
||||||
|
@ -4092,6 +4093,8 @@ func TestSanitize(t *testing.T) {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"ClientAddrs": [],
|
"ClientAddrs": [],
|
||||||
|
"ConnectCAConfig": {},
|
||||||
|
"ConnectCAProvider": "",
|
||||||
"ConnectEnabled": false,
|
"ConnectEnabled": false,
|
||||||
"ConnectProxyBindMaxPort": 0,
|
"ConnectProxyBindMaxPort": 0,
|
||||||
"ConnectProxyBindMinPort": 0,
|
"ConnectProxyBindMinPort": 0,
|
||||||
|
|
Loading…
Reference in New Issue