Skip to content

Commit cdc4437

Browse files
committed
test: allow slightly more diff in memory leak test
Previous limit was too low for debug builds. PR-URL: #51362 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent d248639 commit cdc4437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-crypto-dh-leak.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ const after = process.memoryUsage.rss();
2626

2727
// RSS should stay the same, ceteris paribus, but allow for
2828
// some slop because V8 mallocs memory during execution.
29-
assert(after - before < 10 << 20, `before=${before} after=${after}`);
29+
assert(after - before < 10 << 21, `before=${before} after=${after}`);

0 commit comments

Comments
 (0)