From bf6785ffe815e5a94121d7331642b28b6068747e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Julia=CC=81n?= Date: Mon, 16 Sep 2024 17:23:53 -0400 Subject: [PATCH] Use correct testing Ts --- pkg/network/usm/monitor_tls_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/network/usm/monitor_tls_test.go b/pkg/network/usm/monitor_tls_test.go index 7addc374fae3aa..f77898e7b7d51e 100644 --- a/pkg/network/usm/monitor_tls_test.go +++ b/pkg/network/usm/monitor_tls_test.go @@ -575,27 +575,27 @@ func testHTTP2GoTLSAttachProbes(t *testing.T, cfg *config.Config) { t.Skip("GoTLS not supported for this setup") } - t.Run("new process", func(t *testing.T) { - testHTTPGoTLSCaptureNewProcess(t, cfg, true) + t.Run("new process", func(tt *testing.T) { + testHTTPGoTLSCaptureNewProcess(tt, cfg, true) }) - t.Run("already running process", func(t *testing.T) { - testHTTPGoTLSCaptureAlreadyRunning(t, cfg, true) + t.Run("already running process", func(tt *testing.T) { + testHTTPGoTLSCaptureAlreadyRunning(tt, cfg, true) }) }) } func TestHTTP2GoTLSAttachProbes(t *testing.T) { t.Run("netlink", - func(t *testing.T) { + func(tt *testing.T) { cfg := config.New() cfg.EnableUSMEventStream = false - testHTTP2GoTLSAttachProbes(t, cfg) + testHTTP2GoTLSAttachProbes(tt, cfg) }) t.Run("event stream", - func(t *testing.T) { + func(tt *testing.T) { cfg := config.New() cfg.EnableUSMEventStream = true - testHTTP2GoTLSAttachProbes(t, cfg) + testHTTP2GoTLSAttachProbes(tt, cfg) }) }