Skip to content

Commit f96dffb

Browse files
committed
test: fix flaky test-zlib-unused-weak.js
PR-URL: #38149 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
1 parent 1d8c022 commit f96dffb

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
constbefore=process.memoryUsage().external;
1011
for(leti=0;i<100;++i)
1112
zlib.createGzip();

0 commit comments

Comments
(0)