aboutsummaryrefslogtreecommitdiff
path: root/test/metrics_test.go
diff options
context:
space:
mode:
authorGravatar Xiao An <hac@zju.edu.cn> 2019-04-01 14:28:01 +0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-04-01 07:28:01 +0100
commitcb96ab9f4fe8e4c7a99cdd2a7f7af315f98231a9 (patch)
tree685a047089ad4554751e0747cd37650eec3e8ecc /test/metrics_test.go
parent99c3d065bcfe9172ac86d9e18639e4a574707514 (diff)
downloadcoredns-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/metrics_test.go')
-rw-r--r--test/metrics_test.go3
1 files changed, 2 insertions, 1 deletions
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
}