aboutsummaryrefslogtreecommitdiff
path: root/plugin/pkg/proxy/persistent_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/pkg/proxy/persistent_test.go')
-rw-r--r--plugin/pkg/proxy/persistent_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/pkg/proxy/persistent_test.go b/plugin/pkg/proxy/persistent_test.go
index c78bd7f1f..56d837113 100644
--- a/plugin/pkg/proxy/persistent_test.go
+++ b/plugin/pkg/proxy/persistent_test.go
@@ -17,7 +17,7 @@ func TestCached(t *testing.T) {
})
defer s.Close()
- tr := newTransport(s.Addr)
+ tr := newTransport("TestCached", s.Addr)
tr.Start()
defer tr.Stop()
@@ -56,7 +56,7 @@ func TestCleanupByTimer(t *testing.T) {
})
defer s.Close()
- tr := newTransport(s.Addr)
+ tr := newTransport("TestCleanupByTimer", s.Addr)
tr.SetExpire(100 * time.Millisecond)
tr.Start()
defer tr.Stop()
@@ -90,7 +90,7 @@ func TestCleanupAll(t *testing.T) {
})
defer s.Close()
- tr := newTransport(s.Addr)
+ tr := newTransport("TestCleanupAll", s.Addr)
c1, _ := dns.DialTimeout("udp", tr.addr, maxDialTimeout)
c2, _ := dns.DialTimeout("udp", tr.addr, maxDialTimeout)