aboutsummaryrefslogtreecommitdiff
path: root/test/etcd_test.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-10-18 12:05:19 +0100
committerGravatar GitHub <noreply@github.com> 2016-10-18 12:05:19 +0100
commit4d55f9038886d9e29d1457a2cc8ffbbc007ee05b (patch)
treed8ebf386a1b7f6cf1fac4cb7ff4894196288bbb4 /test/etcd_test.go
parent89a2912c87c7b1d38d8e2a11e8f88183a09b38fe (diff)
downloadcoredns-4d55f9038886d9e29d1457a2cc8ffbbc007ee05b.tar.gz
coredns-4d55f9038886d9e29d1457a2cc8ffbbc007ee05b.tar.zst
coredns-4d55f9038886d9e29d1457a2cc8ffbbc007ee05b.zip
middleware/etcd: more tests (#342)
Add a test which enables caching and debug queries and make sure the debug query does not overwrite the cache.
Diffstat (limited to 'test/etcd_test.go')
-rw-r--r--test/etcd_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/etcd_test.go b/test/etcd_test.go
index 265162a83..a21fa6296 100644
--- a/test/etcd_test.go
+++ b/test/etcd_test.go
@@ -26,7 +26,7 @@ func etcdMiddleware() *etcd.Etcd {
}
cli, _ := etcdc.New(etcdCfg)
client := etcdc.NewKeysAPI(cli)
- return &etcd.Etcd{Client: client}
+ return &etcd.Etcd{Client: client, PathPrefix: "/skydns"}
}
// This test starts two coredns servers (and needs etcd). Configure a stubzones in both (that will loop) and