mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
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>
This commit is contained in:
@@ -73,6 +73,7 @@ func TestMetricsAuto(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
defer os.RemoveAll(tmpdir)
|
||||
|
||||
corefile := `org:0 {
|
||||
auto {
|
||||
|
||||
Reference in New Issue
Block a user