Skip to content

Commit

Permalink
Merge pull request #205 from zhijianli88/master
Browse files Browse the repository at this point in the history
test: cleanup temporary file
  • Loading branch information
k8s-ci-robot committed Jan 27, 2021
2 parents 8ea19f8 + f5ba35b commit 2427a79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions klog_test.go
Expand Up @@ -518,6 +518,7 @@ func TestOpenAppendOnStart(t *testing.T) {
if err != nil {
t.Fatalf("unexpected error: %v", err)
}
defer os.Remove(f.Name())
logging.logFile = f.Name()

// Erase files created by prior tests,
Expand Down

0 comments on commit 2427a79

Please sign in to comment.