Skip to content

Commit 0776b29

Browse files
committed
test: add explainatory comment
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent bec7b83 commit 0776b29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)