Skip to content

Commit

Permalink
test: log before and after RSS in memory leak test
Browse files Browse the repository at this point in the history
Refs: #21076
  • Loading branch information
bnoordhuis committed Jun 2, 2018
1 parent f86e5fc commit cb3989f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-dh-leak.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,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 < 5 << 20);
assert(after - before < 5 << 20, `before=${before} after=${after}`);

0 comments on commit cb3989f

Please sign in to comment.