aboutsummaryrefslogtreecommitdiff
path: root/test/erratic_autopath_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/erratic_autopath_test.go')
-rw-r--r--test/erratic_autopath_test.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/erratic_autopath_test.go b/test/erratic_autopath_test.go
index cd9a077d1..215928b03 100644
--- a/test/erratic_autopath_test.go
+++ b/test/erratic_autopath_test.go
@@ -14,15 +14,10 @@ func TestLookupAutoPathErratic(t *testing.T) {
debug
}
`
- 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.Fatalf("Could not get UDP listening port")
- }
defer i.Stop()
tests := []struct {