diff options
author | Valery Piashchynski <[email protected]> | 2020-02-28 00:36:55 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-28 00:36:55 +0300 |
commit | 6ef4fb589c70038e6f6d1d165cf6feb575f9aadf (patch) | |
tree | 093e2b42a582d704ad80df6a7b6d9abf2bc50f8e /static_pool_test.go | |
parent | 490114908c8017c542cf073bdad814687ab3e4b9 (diff) |
Reduce AllocateTimeout in Test_StaticPool_AllocateTimeout to 1
Nanosecond for proper test
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 05650d17..793ef071 100644 --- a/static_pool_test.go +++ b/static_pool_test.go @@ -218,7 +218,7 @@ func Test_StaticPool_AllocateTimeout(t *testing.T) { NewPipeFactory(), Config{ NumWorkers: 1, - AllocateTimeout: time.Millisecond * 50, + AllocateTimeout: time.Nanosecond * 1, DestroyTimeout: time.Second * 2, }, ) |