Skip to content

Commit

Permalink
Add WaitGroup Wait() call in worker_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Jul 12, 2023
1 parent 40c14eb commit 93de032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/core/worker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ func TestWorkerRunBase64TaskReader(t *testing.T) {

var wg sync.WaitGroup
err = worker.Run(ctx, &wg)
wg.Wait()
if err != nil {
t.Fatal("unexpected error", err)
}
Expand Down

0 comments on commit 93de032

Please sign in to comment.