From e07235e883c0b8e89b4355121232640973801f53 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Wed, 3 May 2017 15:18:48 -0700 Subject: [PATCH] Adding logging for Travis --- command/agent/http_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command/agent/http_test.go b/command/agent/http_test.go index 7dc43bbda..968c33802 100644 --- a/command/agent/http_test.go +++ b/command/agent/http_test.go @@ -440,9 +440,10 @@ func TestHTTP_VerifyHTTPSClient(t *testing.T) { // PASS: Requests that specify a valid hostname, CA cert, and client // certificate succeed. tlsConf.GetClientCertificate = func(*tls.CertificateRequestInfo) (*tls.Certificate, error) { + s.Agent.logger.Printf("Loading certificate") c, err := tls.LoadX509KeyPair(foocert, fookey) if err != nil { - t.Logf("error loading client certificate: %v", err) + s.Agent.logger.Printf("error loading client certificate: %v", err) return nil, err } return &c, nil