From: Jérôme Benoit Date: Wed, 20 Dec 2023 15:07:08 +0000 (+0100) Subject: test: refine expectation X-Git-Tag: v3.1.7~1^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2885534c1ebf36992a1664c3b26b9917522d4825;p=poolifier.git test: refine expectation Signed-off-by: Jérôme Benoit --- diff --git a/tests/pools/abstract-pool.test.mjs b/tests/pools/abstract-pool.test.mjs index f26efdd8..0ea921f8 100644 --- a/tests/pools/abstract-pool.test.mjs +++ b/tests/pools/abstract-pool.test.mjs @@ -1328,7 +1328,7 @@ describe('Abstract pool test suite', () => { await pool.destroy() const elapsedTime = performance.now() - startTime expect(tasksFinished).toBe(0) - expect(elapsedTime).toBeLessThanOrEqual(tasksFinishedTimeout + 600) + expect(elapsedTime).toBeLessThanOrEqual(tasksFinishedTimeout + 800) }) it('Verify that pool asynchronous resource track tasks execution', async () => {