From: Jérôme Benoit Date: Mon, 18 Dec 2023 21:41:33 +0000 (+0100) Subject: build(ci): fix pool destroy timeout X-Git-Tag: v3.1.7~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=149dc9553be295ffdd8c195236958ecdba584880;p=poolifier.git build(ci): fix pool destroy timeout Signed-off-by: Jérôme Benoit --- diff --git a/tests/pools/abstract-pool.test.mjs b/tests/pools/abstract-pool.test.mjs index 84935385..984d8e01 100644 --- a/tests/pools/abstract-pool.test.mjs +++ b/tests/pools/abstract-pool.test.mjs @@ -1332,7 +1332,7 @@ describe('Abstract pool test suite', () => { await pool.destroy() const elapsedTime = performance.now() - startTime expect(tasksFinished).toBe(0) - expect(elapsedTime).toBeLessThanOrEqual(tasksFinishedTimeout + 100) + expect(elapsedTime).toBeLessThanOrEqual(tasksFinishedTimeout + 200) }) it('Verify that pool asynchronous resource track tasks execution', async () => {