aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar DO ANH TUAN <42203940+datuanmac@users.noreply.github.com> 2019-02-17 15:31:58 +0700
committerGravatar Miek Gieben <miek@miek.nl> 2019-02-17 08:31:58 +0000
commit1fe66443a7103963c410a3df09a818f7d14d0519 (patch)
treee2363f378f9c53ba0982ffaa86229c0022ac3ff6
parent35982bd27da911c6daaeeb452156b706afa48ae7 (diff)
downloadcoredns-1fe66443a7103963c410a3df09a818f7d14d0519.tar.gz
coredns-1fe66443a7103963c410a3df09a818f7d14d0519.tar.zst
coredns-1fe66443a7103963c410a3df09a818f7d14d0519.zip
Remove unused test case (#2562)
-rw-r--r--plugin/dnssec/dnssec_test.go31
1 files changed, 0 insertions, 31 deletions
diff --git a/plugin/dnssec/dnssec_test.go b/plugin/dnssec/dnssec_test.go
index 8f3a3ba65..e60b5ee7e 100644
--- a/plugin/dnssec/dnssec_test.go
+++ b/plugin/dnssec/dnssec_test.go
@@ -95,37 +95,6 @@ func TestSigningCname(t *testing.T) {
}
}
-// Disabled for now, see #1211.
-func testZoneSigningDelegation(t *testing.T) {
- d, rm1, rm2 := newDnssec(t, []string{"miek.nl."})
- defer rm1()
- defer rm2()
-
- m := testDelegationMsg()
- state := request.Request{Req: m, Zone: "miek.nl."}
- m = d.Sign(state, time.Now().UTC(), server)
- if !section(m.Ns, 1) {
- t.Errorf("Authority section should have 1 RRSIG")
- t.Logf("%v\n", m)
- }
-
- ds := 0
- for i := range m.Ns {
- if _, ok := m.Ns[i].(*dns.DS); ok {
- ds++
- }
- }
- if ds != 1 {
- t.Errorf("Authority section should have 1 DS")
- t.Logf("%v\n", m)
-
- }
- if !section(m.Extra, 0) {
- t.Errorf("Answer section should have 0 RRSIGs")
- t.Logf("%v\n", m)
- }
-}
-
func TestSigningDname(t *testing.T) {
d, rm1, rm2 := newDnssec(t, []string{"miek.nl."})
defer rm1()