Skip to content

Commit

Permalink
cleanup etcd_certificates in /tmp
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Jan 4, 2017
1 parent 6f3212f commit 03f5866
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/storage/storagebackend/factory/tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"io/ioutil"
"os"
"path"
"path/filepath"
"testing"

"golang.org/x/net/context"
Expand All @@ -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,
Expand Down

0 comments on commit 03f5866

Please sign in to comment.