Skip to content

Commit

Permalink
remove lock contention initialization in test for dev purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
usamasaqib committed Nov 5, 2024
1 parent f8aa96d commit f92b96e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/network/usm/tests/tracer_usm_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -692,15 +692,9 @@ func TestFullMonitorWithTracer(t *testing.T) {
cfg.EnableIstioMonitoring = true
cfg.EnableGoTLSSupport = true

l := ebpf.NewLockContentionCollector()
require.NotNil(t, l)

tr, err := tracer.NewTracer(cfg, nil)
require.NoError(t, err)

err = ebpf.ContentionCollector.Initialize(ebpf.TrackAllEBPFResources)
require.NoError(t, err)

t.Cleanup(tr.Stop)

require.NoError(t, tr.RegisterClient(clientID))
Expand Down

0 comments on commit f92b96e

Please sign in to comment.