Remove debug queries (#1058)

* Remove debug from interface and methods

* remove debug queries from etcd

* remove debug queries from k8s - they were not used

* And remove from mw/proxy-google as well

* Remove debug query test
This commit is contained in:
Miek Gieben
2017-09-12 10:52:43 +01:00
committed by GitHub
parent c2105a4f41
commit 3e252deabb
17 changed files with 99 additions and 462 deletions

View File

@@ -18,11 +18,10 @@ import (
// uses some stuff from etcd_tests.go
func TestEtcdCacheAndDebug(t *testing.T) {
func TestEtcdCache(t *testing.T) {
corefile := `.:0 {
etcd skydns.test {
path /skydns
debug
}
cache skydns.test
}`
@@ -51,15 +50,6 @@ func TestEtcdCacheAndDebug(t *testing.T) {
}
checkResponse(t, resp)
resp, err = p.Lookup(state, "o-o.debug.b.example.skydns.test.", dns.TypeA)
if err != nil {
t.Errorf("Expected to receive reply, but didn't: %s", err)
}
checkResponse(t, resp)
if len(resp.Extra) != 1 {
t.Errorf("Expected one RR in additional section, got: %d", len(resp.Extra))
}
resp, err = p.Lookup(state, "b.example.skydns.test.", dns.TypeA)
if err != nil {
t.Errorf("Expected to receive reply, but didn't: %s", err)