Skip to content

Commit e999da7

Browse files
oyydtargos
authored andcommitted
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>
1 parent aa0d814 commit e999da7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/parallel/test-zlib-unused-weak.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const zlib = require('zlib');
66

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

9+
global.gc();
910
const before = process.memoryUsage().external;
1011
for (let i = 0; i < 100; ++i)
1112
zlib.createGzip();

0 commit comments

Comments
 (0)