Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix flaky test-zlib-unused-weak.js
  • Loading branch information
oyyd committed Apr 8, 2021
commit 261f330f07355ccffa7db396a44f47bdbfaa56f7
1 change: 1 addition & 0 deletions test/parallel/test-zlib-unused-weak.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const zlib = require('zlib');

// Tests that native zlib handles start out their life as weak handles.

global.gc();
const before = process.memoryUsage().external;
for (let i = 0; i < 100; ++i)
zlib.createGzip();
Expand Down