X Tutup
The Wayback Machine - https://web.archive.org/web/20210813191735/https://github.com/nodejs/node/pull/38062
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 test-vm-memleak for high baseline platforms #38062

Closed
wants to merge 1 commit into from

Conversation

@Trott
Copy link
Member

@Trott Trott commented Apr 3, 2021

test-vm-memleak always fails on AIX in CI because the test checks that
total memory consumption is less than 64 Mb, but AIX uses over 100 Mb
just as a baseline. So instead, let's compare the memory consumption to
the baseline and make sure it is within 32 Mb.

@Trott
Copy link
Member Author

@Trott Trott commented Apr 3, 2021

Cherry-picked this over to #34289.

@Trott Trott force-pushed the Trott:fix-memleak-aix branch from f28cd4a to 61d0047 Apr 3, 2021
@Trott
Copy link
Member Author

@Trott Trott commented Apr 3, 2021

test-vm-memleak always fails on AIX in CI because the test checks that
total memory consumption is less than 64 Mb, but AIX uses over 100 Mb
just as a baseline. So instead, let's compare the memory consumption to
the baseline and make sure it is within 32 Mb.
@Trott Trott force-pushed the Trott:fix-memleak-aix branch from 61d0047 to d03a58b Apr 5, 2021
@Trott
Copy link
Member Author

@Trott Trott commented Apr 6, 2021

@jasnell
jasnell approved these changes Apr 6, 2021
@jasnell
Copy link
Member

@jasnell jasnell commented Apr 6, 2021

Landed in a0492ba

@jasnell jasnell closed this Apr 6, 2021
jasnell added a commit that referenced this pull request Apr 6, 2021
test-vm-memleak always fails on AIX in CI because the test checks that
total memory consumption is less than 64 Mb, but AIX uses over 100 Mb
just as a baseline. So instead, let's compare the memory consumption to
the baseline and make sure it is within 32 Mb.

PR-URL: #38062
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Ash Cripps <acripps@redhat.com>
Reviewed-By: Beth Griggs <bgriggs@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

8 participants
X Tutup