Skip to content

Commit 240b492

Browse files
chore(deps): update dependency @std/cli to ^1.0.32 (#152)
* chore(deps): update dependency @std/cli to ^1.0.32 * test: tolerate CI scheduler overhead --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
1 parent 09db091 commit 240b492

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎deno.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"imports": {
4141
"tinybench": "npm:tinybench@^6.0.2",
42-
"@std/cli": "jsr:@std/cli@^1.0.31",
42+
"@std/cli": "jsr:@std/cli@^1.0.32",
4343
"@std/expect": "jsr:@std/expect@^1.0.20",
4444
"@std/testing": "jsr:@std/testing@^1.0.19"
4545
},

‎tests/pools/abstract-pool.test.mjs‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1590,9 +1590,14 @@ describe({
15901590
await pool.destroy()
15911591
const elapsedTime = performance.now() - startTime
15921592
expect(tasksFinished).toBe(0)
1593-
// Worker kill message response timeout is 1000ms
1593+
// Worker kill message response timeout is 1000ms.
1594+
// Allow a small scheduler overhead margin on busy CI hosts.
1595+
const schedulerOverheadMargin = 100
15941596
expect(elapsedTime).toBeLessThanOrEqual(
1595-
tasksFinishedTimeout + 1000 * tasksFinished + 1000,
1597+
tasksFinishedTimeout +
1598+
1000 * tasksFinished +
1599+
1000 +
1600+
schedulerOverheadMargin,
15961601
)
15971602
})
15981603

0 commit comments

Comments
 (0)