Browse Source

Fix config tests

pull/4275/head
Kyle Havlovitz 7 years ago committed by Mitchell Hashimoto
parent
commit
b081c34255
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
  1. 3
      agent/config/runtime_test.go

3
agent/config/runtime_test.go

@ -3415,6 +3415,7 @@ func TestFullConfig(t *testing.T) {
},
CheckUpdateInterval: 16507 * time.Second,
ClientAddrs: []*net.IPAddr{ipAddr("93.83.18.19")},
ConnectEnabled: true,
ConnectProxyBindMinPort: 2000,
ConnectProxyBindMaxPort: 3000,
ConnectCAProvider: "b8j4ynx9",
@ -4092,6 +4093,8 @@ func TestSanitize(t *testing.T) {
}
],
"ClientAddrs": [],
"ConnectCAConfig": {},
"ConnectCAProvider": "",
"ConnectEnabled": false,
"ConnectProxyBindMaxPort": 0,
"ConnectProxyBindMinPort": 0,

Loading…
Cancel
Save