mirror of https://gitea.com/gitea/act_runner.git
do not call wg.done
This commit is contained in:
parent
111b187954
commit
5f9fb619a1
|
|
@ -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()
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue