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