diff options
author | 2023-07-04 15:35:55 +0100 | |
---|---|---|
committer | 2023-07-04 16:35:55 +0200 | |
commit | ea293da1d6bb0c4f598c8790c6941d56c79c0aa3 (patch) | |
tree | 9e808cf986b72673e2b9b176624cada501cd594e /plugin/pkg/proxy/persistent_test.go | |
parent | 6e1263d3d9ae1deef399df23d4ae47d2c3154e03 (diff) | |
download | coredns-ea293da1d6bb0c4f598c8790c6941d56c79c0aa3.tar.gz coredns-ea293da1d6bb0c4f598c8790c6941d56c79c0aa3.tar.zst coredns-ea293da1d6bb0c4f598c8790c6941d56c79c0aa3.zip |
Fix forward metrics for backwards compatibility (#6178)
Diffstat (limited to 'plugin/pkg/proxy/persistent_test.go')
-rw-r--r-- | plugin/pkg/proxy/persistent_test.go | 6 |
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) |