diff options
author | Valery Piashchynski <[email protected]> | 2021-02-16 14:03:23 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-02-16 14:03:23 +0300 |
commit | 201befde78cdefad40261f223b8a086df496cf07 (patch) | |
tree | e942aeb03e0f1bc862c0d726160f886ccc9b65d0 /pkg/pool | |
parent | 511bb36a186c4b439fd70b9dfa479397b69da72e (diff) |
On some test envs with limited resources, goroutine in the
Test_Static_Pool_Destroy_And_Close_While_Wait test might be executed
after test ends. Add a little bit more time to wait this gorotutine
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/pool')
-rwxr-xr-x | pkg/pool/static_pool_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pool/static_pool_test.go b/pkg/pool/static_pool_test.go index 44f5936c..c8b3616c 100755 --- a/pkg/pool/static_pool_test.go +++ b/pkg/pool/static_pool_test.go @@ -437,7 +437,7 @@ func Test_Static_Pool_Destroy_And_Close_While_Wait(t *testing.T) { t.Errorf("error executing payload: error %v", err) } }() - time.Sleep(time.Millisecond * 10) + time.Sleep(time.Millisecond * 100) p.Destroy(ctx) _, err = p.Exec(payload.Payload{Body: []byte("100")}) |