Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test-http-server-keepalive-req-gc robust to GC heuristics #186

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

eti-p-doray
Copy link

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.

@mlippautz mlippautz merged commit 0766211 into v8:node-ci-2024-04-23 Jun 3, 2024
12 of 15 checks passed
isheludko pushed a commit to isheludko/node that referenced this pull request Jun 3, 2024
* Fix test-http-server-keepalive-req-gc

* Format

---------

Co-authored-by: Etienne Pierre-doray <etiennep@chromium.org>
victorgomes pushed a commit that referenced this pull request Jun 3, 2024
…#189)

* Fix test-http-server-keepalive-req-gc

* Format

---------

Co-authored-by: Etienne Pierre-Doray <etipdoray@gmail.com>
Co-authored-by: Etienne Pierre-doray <etiennep@chromium.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants