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

test: fix flaky test-vm-memleak #38054

Merged
merged 1 commit into from
Apr 5, 2021
Merged

Conversation

Trott
Copy link
Member

@Trott Trott commented Apr 3, 2021

Force garbage collection so that the memory leak is more easily
differentiated from ordinary not-garbage-collected memory.

Refs: #34289

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 3, 2021
@Trott Trott added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label Apr 3, 2021
@Trott
Copy link
Member Author

Trott commented Apr 3, 2021

@Trott
Copy link
Member Author

Trott commented Apr 3, 2021

Pummel tests aren't run (yet) in node-test-pull-request CI jobs, so the pummel CI above should be sufficient here.

@Trott Trott mentioned this pull request Apr 3, 2021
2 tasks
@Trott
Copy link
Member Author

Trott commented Apr 3, 2021

(This fixes it on FreeBSD and probably elsewhere, but the test reliably fails on AIX, probably because the baseline RSS is too high. I'll adjust the test further in another PR to address AIX specifically.)

Force garbage collection so that the memory leak is more easily
differentiated from ordinary not-garbage-collected memory.

Refs: nodejs#34289

PR-URL: nodejs#38054
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@Trott Trott merged commit 4f387c2 into nodejs:master Apr 5, 2021
@Trott
Copy link
Member Author

Trott commented Apr 5, 2021

Landed in 4f387c2

@Trott Trott deleted the fix-flaky-memleak branch April 5, 2021 05:02
targos pushed a commit that referenced this pull request Sep 7, 2021
Force garbage collection so that the memory leak is more easily
differentiated from ordinary not-garbage-collected memory.

Refs: #34289

PR-URL: #38054
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Issues and PRs related to the tests with unstable failures on the CI. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants