Adding logging for Travis
This commit is contained in:
parent
4dc897a664
commit
24c8434368
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue