Fix TO Golang test for default MaxDBConns
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/d728b597 Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/d728b597 Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/d728b597 Branch: refs/heads/master Commit: d728b597622e1ffaae2fa59948758c47f069dbe1 Parents: 84a4b12 Author: Robert Butts <robert.o.bu...@gmail.com> Authored: Tue Aug 8 16:38:55 2017 -0600 Committer: Dewayne Richardson <dewr...@apache.org> Committed: Thu Aug 10 09:46:03 2017 -0600 ---------------------------------------------------------------------- traffic_ops/traffic_ops_golang/perlconfig_test.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/d728b597/traffic_ops/traffic_ops_golang/perlconfig_test.go ---------------------------------------------------------------------- diff --git a/traffic_ops/traffic_ops_golang/perlconfig_test.go b/traffic_ops/traffic_ops_golang/perlconfig_test.go index 8c3f2c2..a942f86 100644 --- a/traffic_ops/traffic_ops_golang/perlconfig_test.go +++ b/traffic_ops/traffic_ops_golang/perlconfig_test.go @@ -64,11 +64,12 @@ func TestGetCDNConf(t *testing.T) { ` expected := Config{ - HTTPPort: "443", - TOSecret: "walrus", - TOURLStr: "https://127.0.0.1:60443", - CertPath: "/etc/pki/tls/certs/localhost.crt", - KeyPath: "/etc/pki/tls/private/localhost.key", + HTTPPort: "443", + TOSecret: "walrus", + TOURLStr: "https://127.0.0.1:60443", + CertPath: "/etc/pki/tls/certs/localhost.crt", + KeyPath: "/etc/pki/tls/private/localhost.key", + MaxDBConnections: 50, } err := error(nil) if expected.TOURL, err = url.Parse(expected.TOURLStr); err != nil {