Skip to content

Commit bc765d0

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)