Skip to content

Commit

Permalink
test: allow slightly more diff in memory leak test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
targos committed Mar 31, 2024
1 parent d248639 commit cdc4437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-dh-leak.js
Expand Up @@ -26,4 +26,4 @@ const after = process.memoryUsage.rss();

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

0 comments on commit cdc4437

Please sign in to comment.