Skip to content

Commit

Permalink
fix unit test bug
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Jin <[email protected]>
  • Loading branch information
jnyi committed Apr 11, 2024
1 parent 2e8cd13 commit 96fca41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pool/worker_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestGo(t *testing.T) {
wg.Add(1)
p.Go(func() {
mu.Lock()
mu.Unlock()
defer mu.Unlock()
expectedWorksDone++
wg.Done()
})
Expand Down

0 comments on commit 96fca41

Please sign in to comment.