cleanup etcd_certificates in /tmp

Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
Jess Frazelle 2016-12-14 15:30:22 -08:00
parent 6f3212f831
commit 03f5866ede
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -20,6 +20,7 @@ import (
"io/ioutil"
"os"
"path"
"path/filepath"
"testing"
"golang.org/x/net/context"
@ -35,6 +36,7 @@ import (
func TestTLSConnection(t *testing.T) {
certFile, keyFile, caFile := configureTLSCerts(t)
defer os.RemoveAll(filepath.Dir(certFile))
tlsInfo := &transport.TLSInfo{
CertFile: certFile,