Skip to content

Commit fda8654

Browse files
bnoordhuisMylesBorins
authored andcommitted
test: log before and after RSS in memory leak test
Refs: #21076 PR-URL: #21080 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Yuta Hiroto <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 341b2c2 commit fda8654

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
@@ -23,4 +23,4 @@ const after = process.memoryUsage().rss;
2323

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

0 commit comments

Comments
 (0)