Skip to content

Commit

Permalink
Use correct testing Ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulianm committed Sep 25, 2024
1 parent 76657d1 commit f98b3ed
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/network/usm/monitor_tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}

Expand Down

0 comments on commit f98b3ed

Please sign in to comment.