Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix test-http-server-keepalive-req-gc
This changes adds a second explicit gc call in the test. Without this call, the test relies on gc eventually happening based, since the first call doesn't free the object. Relying on gc to eventually happen prevents changing GC heuristics unrelated to this test. The gc call is async; otherwise doing multiple sync GCs doesn't free the object. PR-URL: nodejs#53292 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
- Loading branch information