diff options
author | 2020-07-02 15:10:36 +0800 | |
---|---|---|
committer | 2020-07-02 09:10:36 +0200 | |
commit | 011686b344aa144cbd338161fca8c8079772638c (patch) | |
tree | 4b0fa197096330b23b5af99adcc9df22bcf0e428 /test/metrics_test.go | |
parent | 41f9142dd29a09bba93aa85a018c55ecfbd51496 (diff) | |
download | coredns-011686b344aa144cbd338161fca8c8079772638c.tar.gz coredns-011686b344aa144cbd338161fca8c8079772638c.tar.zst coredns-011686b344aa144cbd338161fca8c8079772638c.zip |
Cleanup tempfiles (#3986)
* cleanup tempfiles for auto_test
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
* cleanup tempfiles for metrics_test
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Diffstat (limited to 'test/metrics_test.go')
-rw-r--r-- | test/metrics_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/metrics_test.go b/test/metrics_test.go index 6f5477c5d..6641d615c 100644 --- a/test/metrics_test.go +++ b/test/metrics_test.go @@ -73,6 +73,7 @@ func TestMetricsAuto(t *testing.T) { if err != nil { t.Fatal(err) } + defer os.RemoveAll(tmpdir) corefile := `org:0 { auto { |