diff options
author | 2018-09-29 17:50:49 +0200 | |
---|---|---|
committer | 2018-09-29 16:50:49 +0100 | |
commit | 552aab723c05088d049f085ee3b480dac1dbdba7 (patch) | |
tree | cd6ecf70b028a1b4412728b967be9d1abd26678c /test | |
parent | a80ec6096f71337600ff2694040be1efb7b6b87b (diff) | |
download | coredns-552aab723c05088d049f085ee3b480dac1dbdba7.tar.gz coredns-552aab723c05088d049f085ee3b480dac1dbdba7.tar.zst coredns-552aab723c05088d049f085ee3b480dac1dbdba7.zip |
Configurable zone reload interval in file plugin (#2110)
* Configurable zone reload interval in file plugin
* passing reload config from auto plugin to file plugin. removed noReload property from Zone struct. fixed tests based on short file reload hack
Diffstat (limited to 'test')
-rw-r--r-- | test/file_reload_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/file_reload_test.go b/test/file_reload_test.go index 01877f693..2f07d9a8e 100644 --- a/test/file_reload_test.go +++ b/test/file_reload_test.go @@ -24,7 +24,9 @@ func TestZoneReload(t *testing.T) { // Corefile with two stanzas corefile := `example.org:0 { - file ` + name + ` + file ` + name + ` { + reload 1s + } } example.net:0 { |