aboutsummaryrefslogtreecommitdiff
path: root/test/auto_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/auto_test.go')
-rw-r--r--test/auto_test.go9
1 files changed, 6 insertions, 3 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 *
}
}