Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxErrorLineNULL committed Sep 9, 2024
1 parent 846408b commit 3011dec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions worker/pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,6 @@ func TestPool(t *testing.T) {
pool.Stop()
}()

// Pause for 200 milliseconds to allow the pool stop operation to be initiated.
// This small delay gives the pool sufficient time to begin stopping workers before proceeding with assertions.
<-time.After(500 * time.Millisecond)

// Wait for the pool to stop or timeout.
// Check if the worker pool has stopped and no workers are running.
select {
Expand Down

0 comments on commit 3011dec

Please sign in to comment.