From 8e3aa2fe53ebe4a2411b9505762b27af905925e4 Mon Sep 17 00:00:00 2001 From: Lee Avital Date: Mon, 11 Dec 2023 13:06:43 -0500 Subject: [PATCH] Add logging in testDNSStats (#21470) Add logging in testDNSStats --- pkg/network/tracer/tracer_linux_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/network/tracer/tracer_linux_test.go b/pkg/network/tracer/tracer_linux_test.go index cede980d12ce8..bbbff519c971d 100644 --- a/pkg/network/tracer/tracer_linux_test.go +++ b/pkg/network/tracer/tracer_linux_test.go @@ -1391,6 +1391,8 @@ func (s *TracerSuite) TestDNSStatsWithNAT() { cfg.CollectDNSStats = true cfg.DNSTimeout = 1 * time.Second tr := setupTracer(t, cfg) + + t.Logf("requesting golang.com@2.2.2.2 with conntrack type: %T", tr.conntracker) testDNSStats(t, tr, "golang.org", 1, 0, 0, "2.2.2.2") }