diff options
Diffstat (limited to 'static_pool_test.go')
-rwxr-xr-x | static_pool_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static_pool_test.go b/static_pool_test.go index 27907af5..f8478e14 100755 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -174,6 +174,7 @@ func Test_StaticPool_Broken_Replace(t *testing.T) { wg := &sync.WaitGroup{} wg.Add(1) + time.Sleep(time.Second) workers := p.Workers() for i := 0; i < len(workers); i++ { workers[i].AddListener(func(event interface{}) { |