Skip to content

Commit 9b30a63

Browse files
Trotttargos
authored andcommitted
test: improve test-gc-http-client
Calling `global.gc()` in multiple places leads to unreliability. Call it in the interval only. PR-URL: #23145 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 4436a3d commit 9b30a63

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎test/sequential/test-gc-http-client.js‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ function getall(){
4343
functioncb(res){
4444
res.resume();
4545
done+=1;
46-
res.on('end',global.gc);
4746
}
4847

4948
functionongc(){

0 commit comments

Comments
(0)