test: refine expectation
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 20 Dec 2023 15:07:08 +0000 (16:07 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 20 Dec 2023 15:07:08 +0000 (16:07 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
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 () => {