diff options
author | 2019-04-01 14:28:01 +0800 | |
---|---|---|
committer | 2019-04-01 07:28:01 +0100 | |
commit | cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9 (patch) | |
tree | 685a047089ad4554751e0747cd37650eec3e8ecc /test | |
parent | 99c3d065bcfe9172ac86d9e18639e4a574707514 (diff) | |
download | coredns-cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9.tar.gz coredns-cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9.tar.zst coredns-cb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9.zip |
Fully deprecate TIMEOUT and NO_RELOAD (#2742)
* Fully deprecate NO_RELOAD
Signed-off-by: Xiao An <hac@zju.edu.cn>
* Fully deprecate TIMEOUT
Signed-off-by: Xiao An <hac@zju.edu.cn>
* Update CI tests to adapt to the deprecation of TIMEOUT
Signed-off-by: Xiao An <hac@zju.edu.cn>
* Add documents for directive transfer in plugin auto
Signed-off-by: Xiao An <hac@zju.edu.cn>
Diffstat (limited to 'test')
-rw-r--r-- | test/auto_test.go | 9 | ||||
-rw-r--r-- | test/metrics_test.go | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/test/auto_test.go b/test/auto_test.go index 9380ea78a..4d9b70a1c 100644 --- a/test/auto_test.go +++ b/test/auto_test.go @@ -19,7 +19,8 @@ func TestAuto(t *testing.T) { corefile := `org:0 { auto { - directory ` + tmpdir + ` db\.(.*) {1} 1 + directory ` + tmpdir + ` db\.(.*) {1} + reload 1s } } ` @@ -77,7 +78,8 @@ func TestAutoNonExistentZone(t *testing.T) { corefile := `.:0 { auto { - directory ` + tmpdir + ` (.*) {1} 1 + directory ` + tmpdir + ` (.*) {1} + reload 1s } errors stdout } @@ -115,7 +117,8 @@ func TestAutoAXFR(t *testing.T) { corefile := `org:0 { auto { - directory ` + tmpdir + ` db\.(.*) {1} 1 + directory ` + tmpdir + ` db\.(.*) {1} + reload 1s transfer to * } } diff --git a/test/metrics_test.go b/test/metrics_test.go index 4aaf89036..b84e906ce 100644 --- a/test/metrics_test.go +++ b/test/metrics_test.go @@ -77,7 +77,8 @@ func TestMetricsAuto(t *testing.T) { corefile := `org:0 { auto { - directory ` + tmpdir + ` db\.(.*) {1} 1 + directory ` + tmpdir + ` db\.(.*) {1} + reload 1s } prometheus localhost:0 } |