diff options
Diffstat (limited to 'test/etcd_cache_debug_test.go')
-rw-r--r-- | test/etcd_cache_debug_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/etcd_cache_debug_test.go b/test/etcd_cache_debug_test.go index 59fdd8d6b..599e95b5c 100644 --- a/test/etcd_cache_debug_test.go +++ b/test/etcd_cache_debug_test.go @@ -27,15 +27,10 @@ func TestEtcdCacheAndDebug(t *testing.T) { cache skydns.test }` - ex, err := CoreDNSServer(corefile) + ex, udp, _, err := CoreDNSServerAndPorts(corefile) if err != nil { t.Fatalf("Could not get CoreDNS serving instance: %s", err) } - - udp, _ := CoreDNSServerPorts(ex, 0) - if udp == "" { - t.Fatalf("Could not get UDP listening port") - } defer ex.Stop() etc := etcdMiddleware() |