diff options
Diffstat (limited to 'test/auto_test.go')
-rw-r--r-- | test/auto_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/auto_test.go b/test/auto_test.go index ed7d4aa9a..b5a9c2b09 100644 --- a/test/auto_test.go +++ b/test/auto_test.go @@ -29,15 +29,10 @@ func TestAuto(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) |