From 201befde78cdefad40261f223b8a086df496cf07 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 16 Feb 2021 14:03:23 +0300 Subject: 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 --- pkg/pool/static_pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/pool/static_pool_test.go') 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")}) -- cgit v1.2.3