build(ci): fix pool destroy timeout
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 18 Dec 2023 21:41:33 +0000 (22:41 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 18 Dec 2023 21:41:33 +0000 (22:41 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
tests/pools/abstract-pool.test.mjs

index 84935385a42b21cf8439501e2ef293f45e212b21..984d8e018b86daff68dd690aef37e4a3a01f4bea 100644 (file)
@@ -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 () => {