diff --git a/pkg/sensors/tracing/kprobe_test.go b/pkg/sensors/tracing/kprobe_test.go index c2afd2e0cbd..1acf2a2ff7f 100644 --- a/pkg/sensors/tracing/kprobe_test.go +++ b/pkg/sensors/tracing/kprobe_test.go @@ -6049,7 +6049,6 @@ func TestDentryExtractPath(t *testing.T) { ops := func() { err = command.Start() assert.NoError(t, err) - defer command.Process.Kill() } events := perfring.RunTestEvents(t, ctx, ops)