X Tutup
The Wayback Machine - https://web.archive.org/web/20220420072234/https://github.com/nodejs/node/commit/f96dffb7ae
Skip to content
Permalink
Browse files
test: fix flaky test-zlib-unused-weak.js
PR-URL: #38149
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
  • Loading branch information
oyyd committed Apr 9, 2021
1 parent 1d8c022 commit f96dffb7aef50aa46531577ec24eb19474207d96
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/parallel/test-zlib-unused-weak.js
@@ -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();

0 comments on commit f96dffb

Please sign in to comment.
X Tutup