diff options
author | Valery Piashchynski <[email protected]> | 2020-11-18 18:50:49 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-11-18 18:50:49 +0300 |
commit | e9595a5c133ff02b765c0b59913593e7f91bc4e7 (patch) | |
tree | 136003367d409bd1e04d7a313e1cc6e15496a7c4 /static_pool_test.go | |
parent | 8fab090abc369237d5f9be2ee676005b24c2a470 (diff) |
Update static_pool_test, add pause for getting workers
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{}) { |