From c0b73233e2d668f24b8659060cb7a87a0a15d96d Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 27 Feb 2020 22:50:47 +0300 Subject: Slightly increase wait time in static_pool_test --> Test_StaticPool_AllocateTimeout --- static_pool_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static_pool_test.go') diff --git a/static_pool_test.go b/static_pool_test.go index ee1bb3de..1f185f58 100644 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -234,7 +234,7 @@ func Test_StaticPool_AllocateTimeout(t *testing.T) { }() // to ensure that worker is already busy - time.Sleep(time.Millisecond * 1) + time.Sleep(time.Millisecond * 10) _, err = p.Exec(&Payload{Body: []byte("10")}) assert.Error(t, err) -- cgit v1.2.3