summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-28 14:25:30 +0300
committerValery Piashchynski <[email protected]>2020-02-28 14:25:30 +0300
commit3b67450d03fbc20485551486fd5b113c01514236 (patch)
tree2548da074c98f6ef00f173e8408ee5ceaa12f3e5 /static_pool_test.go
parentdc8a2e62cbb1c1ed07dc51f5629950211587d5a4 (diff)
static_pool upadate tests
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 6cbd659e..46f0bed8 100644
--- a/static_pool_test.go
+++ b/static_pool_test.go
@@ -219,7 +219,7 @@ func Test_StaticPool_AllocateTimeout(t *testing.T) {
NewPipeFactory(),
Config{
NumWorkers: 1,
- AllocateTimeout: time.Millisecond * 50,
+ AllocateTimeout: time.Nanosecond * 1,
DestroyTimeout: time.Second * 2,
},
)