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 <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
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

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