diff options
Diffstat (limited to 'test/secondary_test.go')
-rw-r--r-- | test/secondary_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/secondary_test.go b/test/secondary_test.go index dbf410047..b3eed5c1b 100644 --- a/test/secondary_test.go +++ b/test/secondary_test.go @@ -21,15 +21,10 @@ func TestEmptySecondaryZone(t *testing.T) { } ` - i, err := CoreDNSServer(corefile) + i, udp, _, err := CoreDNSServerAndPorts(corefile) if err != nil { t.Fatalf("Could not get CoreDNS serving instance: %s", err) } - - udp, _ := CoreDNSServerPorts(i, 0) - if udp == "" { - t.Fatal("Could not get UDP listening port") - } defer i.Stop() log.SetOutput(ioutil.Discard) |