mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
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:
@@ -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)
|
||||
Reference in New Issue
Block a user