Skip to content

Commit d5ac47e

Browse files
committed
test: allow slightly more diff in memory leak test
Previous limit was too low for debug builds.
1 parent 1827161 commit d5ac47e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)