From c3fc27cf20fa321edd188b3eacc5428977ea9393 Mon Sep 17 00:00:00 2001 From: Hannah Kim Date: Tue, 17 Dec 2024 14:28:27 -0500 Subject: [PATCH] contrib/miekg/dns: resolve flaky test in TestExchange* --- contrib/miekg/dns/dns_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/miekg/dns/dns_test.go b/contrib/miekg/dns/dns_test.go index c1efa2a799..8a808e5fd4 100644 --- a/contrib/miekg/dns/dns_test.go +++ b/contrib/miekg/dns/dns_test.go @@ -191,7 +191,7 @@ func assertClientSpan(t *testing.T, s mocktracer.Span) { } func getFreeAddr(t *testing.T) net.Addr { - li, err := net.Listen("tcp", "127.0.0.1:0") + li, err := net.Listen("tcp", "127.0.0.1:2020") if err != nil { t.Fatal(err) }