Clean up test artifacts

This commit is contained in:
Jeff Mitchell 2019-04-02 15:09:31 -04:00
parent a6d6d55c03
commit 0e93244b14
1 changed files with 3 additions and 0 deletions

View File

@ -1225,6 +1225,9 @@ func TestBackend_uri_singleCert(t *testing.T) {
}
tempDir, connState, err := generateTestCertAndConnState(t, certTemplate)
if tempDir != "" {
defer os.RemoveAll(tempDir)
}
if err != nil {
t.Fatalf("error testing connection state: %v", err)
}