summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-27 22:50:47 +0300
committerValery Piashchynski <[email protected]>2020-02-27 22:50:47 +0300
commitc0b73233e2d668f24b8659060cb7a87a0a15d96d (patch)
tree31c14a8f0e5446e8d65d8cf17674d3e7ac4e5cd9 /static_pool_test.go
parentbcb39a19b9ac879953004ed54de71c0c1d903d63 (diff)
Slightly increase wait time in static_pool_test --> Test_StaticPool_AllocateTimeout
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)