diff options
author | 2016-06-12 08:21:24 +0100 | |
---|---|---|
committer | 2016-06-12 08:21:24 +0100 | |
commit | 618aff89b4cbd50a50b35053c8492adc8cebf8e9 (patch) | |
tree | 017a761738e7bcc6a8f7b32f481d5cf02b23f39c | |
parent | 4432f53ce06843507e17310f2a158b72340b5eed (diff) | |
download | coredns-618aff89b4cbd50a50b35053c8492adc8cebf8e9.tar.gz coredns-618aff89b4cbd50a50b35053c8492adc8cebf8e9.tar.zst coredns-618aff89b4cbd50a50b35053c8492adc8cebf8e9.zip |
remove commented out lines
-rw-r--r-- | middleware/etcd/other_test.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/middleware/etcd/other_test.go b/middleware/etcd/other_test.go index 1aad593bb..0ed658c44 100644 --- a/middleware/etcd/other_test.go +++ b/middleware/etcd/other_test.go @@ -78,8 +78,6 @@ var servicesOther = []*msg.Service{ {Text: strings.Repeat("0", 400), Key: "large400.skydns.test."}, {Text: strings.Repeat("0", 600), Key: "large600.skydns.test."}, {Text: strings.Repeat("0", 2000), Key: "large2000.skydns.test."}, - //{Text: strings.Repeat("0", 10000), Key: "large10000.skydns.test."}, - //{Text: strings.Repeat("0", 40000), Key: "large40000.skydns.test."}, // duplicate ip address {Host: "10.11.11.10", Key: "http.multiport.http.skydns.test.", Port: 80}, @@ -159,29 +157,12 @@ var dnsTestCasesOther = []test.Case{ test.TXT(fmt.Sprintf("large2000.skydns.test. 300 IN TXT \"%s\"", strings.Repeat("0", 2000))), }, }, - /* Looks like github.com/miekg/dns/scan.go:const maxTok = 2048 is the limit - // Large txt greater than 9000 (typical jumbo Ethernet) { Qname: "large10000.skydns.test.", Qtype: dns.TypeTXT, Answer: []dns.RR{ test.TXT(fmt.Sprintf("large10000.skydns.test. 300 IN TXT \"%s\"", strings.Repeat("0", 10000))), }, }, - // Large txt greater than 32768 (RDLENGTH is unsigned 16 bit int in RFC 1035) - { - Qname: "large40000.skydns.test.", Qtype: dns.TypeTXT, - Answer: []dns.RR{ - test.TXT(fmt.Sprintf("large40000.skydns.test. 300 IN TXT \"%s\"", strings.Repeat("0", 40000))), - }, - }, - */ - { - Qname: "txt.skydns.test.", Qtype: dns.TypeTXT, - Answer: []dns.RR{ - test.TXT("txt.skydns.test. 300 IN TXT \"abc abc\""), - test.TXT("txt.skydns.test. 300 IN TXT \"abc\""), - }, - }, // Duplicate IP address test { Qname: "multiport.http.skydns.test.", Qtype: dns.TypeA, |