diff options
author | 2019-01-28 15:25:14 +0800 | |
---|---|---|
committer | 2019-01-28 07:25:14 +0000 | |
commit | ffe79b026e3dc3b3a1eb1f95224b570d7764e0b6 (patch) | |
tree | ef597b0b2d96381d7bebb00edf85d4f3a80cc0e1 /test/file_reload_test.go | |
parent | f300fa9bb25f6693bd3d9a314f054c39717250c6 (diff) | |
download | coredns-ffe79b026e3dc3b3a1eb1f95224b570d7764e0b6.tar.gz coredns-ffe79b026e3dc3b3a1eb1f95224b570d7764e0b6.tar.zst coredns-ffe79b026e3dc3b3a1eb1f95224b570d7764e0b6.zip |
Remove duplicated TempFile testsuit (#2508)
Diffstat (limited to 'test/file_reload_test.go')
-rw-r--r-- | test/file_reload_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/file_reload_test.go b/test/file_reload_test.go index b0d6c6656..251c8c25c 100644 --- a/test/file_reload_test.go +++ b/test/file_reload_test.go @@ -5,6 +5,7 @@ import ( "testing" "time" + "github.com/coredns/coredns/plugin/test" "github.com/coredns/coredns/plugin/file" "github.com/miekg/dns" @@ -13,7 +14,7 @@ import ( func TestZoneReload(t *testing.T) { file.TickTime = 1 * time.Second - name, rm, err := TempFile(".", exampleOrg) + name, rm, err := test.TempFile(".", exampleOrg) if err != nil { t.Fatalf("Failed to create zone: %s", err) } |