summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'static_pool_test.go')
-rw-r--r--static_pool_test.go2
1 files changed, 1 insertions, 1 deletions
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)