tests: CoreDNSServerAndPorts (#972)
* tests: CoreDNSServerAndPorts Copy from kubernetes.go and renamed to fit the style, adapted almost all callers. This is a mechanicl change, no testdata was changed. * typos
This commit is contained in:
parent
ea53f8c219
commit
f901b0cefa
24 changed files with 39 additions and 143 deletions
|
@ -45,6 +45,6 @@ func send(t *testing.T, server string) {
|
|||
t.Fatalf("Expected successful reply, got %s", dns.RcodeToString[r.Rcode])
|
||||
}
|
||||
if len(r.Extra) != 2 {
|
||||
t.Fatalf("Expected 2 RRs in additional, got %d", len(r.Extra))
|
||||
t.Fatalf("Expected 2 RRs in additional, got %s", len(r.Extra))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue