diff --git a/internal/pkg/report/reporter_test.go b/internal/pkg/report/reporter_test.go index c10fe5e2..f617e296 100644 --- a/internal/pkg/report/reporter_test.go +++ b/internal/pkg/report/reporter_test.go @@ -324,7 +324,6 @@ func TestReporter_RunDaemonClose_Race(t *testing.T) { // RunDaemon reads r.closed and reschedules itself via time.AfterFunc. var wg sync.WaitGroup wg.Go(func() { - defer wg.Done() reporter.RunDaemon() })