Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Coredns
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Coredns
Commits
618aff89
Commit
618aff89
authored
Jun 12, 2016
by
Miek Gieben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove commented out lines
parent
4432f53c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
middleware/etcd/other_test.go
middleware/etcd/other_test.go
+0
-19
No files found.
middleware/etcd/other_test.go
View file @
618aff89
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment