diff --git a/internal/ctxwatch/context_watcher_test.go b/internal/ctxwatch/context_watcher_test.go index a1b3c863..0b491bf8 100644 --- a/internal/ctxwatch/context_watcher_test.go +++ b/internal/ctxwatch/context_watcher_test.go @@ -87,9 +87,6 @@ func TestContextWatcherStress(t *testing.T) { if i%2 == 1 { cancel() } - - // To avoid context leak - cancel() } actualCancelFuncCalls := atomic.LoadInt64(&cancelFuncCalls)