Skip to content

Commit 0776b29

Browse files
committed
test: add explainatory comment
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
1 parent bec7b83 commit 0776b29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/pools/abstract-pool.test.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,6 +1471,7 @@ describe({
14711471
await pool.destroy()
14721472
const elapsedTime = performance.now() - startTime
14731473
expect(tasksFinished).toBe(0)
1474+
// Worker kill message response timeout is 1000ms
14741475
expect(elapsedTime).toBeLessThanOrEqual(
14751476
tasksFinishedTimeout + 1000 * tasksFinished + 100,
14761477
)

0 commit comments

Comments
 (0)