test: refine expectation
[poolifier.git] / tests / pools / abstract-pool.test.mjs
index f26efdd846b5e86ae026306105f34ca030f9d4ca..0ea921f88cfcc9cb77fccfa0c0e77334fe776ecd 100644 (file)
@@ -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 () => {