aboutsummaryrefslogtreecommitdiff
path: root/middleware/file/zone_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-04-06 22:29:33 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2016-04-06 22:29:33 +0100
commit225cdd1ca387b409c07269db44100643fccb620c (patch)
tree3e6de7528a1238535d1ef04736b68387de57c816 /middleware/file/zone_test.go
parentb9a6518bb04cf994f1dcef2ee1103c3044964086 (diff)
downloadcoredns-225cdd1ca387b409c07269db44100643fccb620c.tar.gz
coredns-225cdd1ca387b409c07269db44100643fccb620c.tar.zst
coredns-225cdd1ca387b409c07269db44100643fccb620c.zip
Add AXFR test
Test shouldTransfer by upping a testserver and sending the SOA query. Remove state from DefaultErrorHandler and just get it from the request. Add more logging to show what is going on. This also adds the infrastructure for future tests.
Diffstat (limited to 'middleware/file/zone_test.go')
-rw-r--r--middleware/file/zone_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/file/zone_test.go b/middleware/file/zone_test.go
index 5421d1dd3..e7eaef4b8 100644
--- a/middleware/file/zone_test.go
+++ b/middleware/file/zone_test.go
@@ -1,3 +1,4 @@
package file
// TODO tests here.
+// see secondary_test.go for some infrastructure stuff.