diff options
author | Valery Piashchynski <[email protected]> | 2020-02-27 22:50:47 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-27 22:50:47 +0300 |
commit | c0b73233e2d668f24b8659060cb7a87a0a15d96d (patch) | |
tree | 31c14a8f0e5446e8d65d8cf17674d3e7ac4e5cd9 /static_pool_test.go | |
parent | bcb39a19b9ac879953004ed54de71c0c1d903d63 (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.go | 2 |
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) |