X Tutup
The Wayback Machine - https://web.archive.org/web/20210814015757/https://github.com/nodejs/node/pull/38149
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-zlib-unused-weak.js #38149

Closed
wants to merge 1 commit into from
Closed

Conversation

@oyyd
Copy link
Member

@oyyd oyyd commented Apr 8, 2021

Failed test: https://ci.nodejs.org/job/node-test-commit-linux/nodes=alpine-last-latest-x64/40825/testReport/junit/(root)/test/parallel_test_zlib_unused_weak/

AssertionError [ERR_ASSERTION]: Expected after-GC delta -29156 to be less than 5 % of before-GC delta -9751

I think the delta should be positive. Calling gc() before zlib.createGzip() should make it more stable.

@jasnell
jasnell approved these changes Apr 8, 2021
@lpinca
lpinca approved these changes Apr 9, 2021
@lpinca
Copy link
Member

@lpinca lpinca commented Apr 9, 2021

Fast-track?

@mcollina
Copy link
Member

@mcollina mcollina commented Apr 9, 2021

+1 to fast track

Copy link
Member

@mcollina mcollina left a comment

lgtm

@oyyd oyyd added the fast-track label Apr 9, 2021
oyyd added a commit that referenced this pull request Apr 9, 2021
PR-URL: #38149
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@oyyd
Copy link
Member Author

@oyyd oyyd commented Apr 9, 2021

Landed in f96dffb, thanks!

@oyyd oyyd closed this Apr 9, 2021
targos added a commit that referenced this pull request May 1, 2021
PR-URL: #38149
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@danielleadams danielleadams mentioned this pull request May 3, 2021
danielleadams added a commit that referenced this pull request May 8, 2021
PR-URL: #38149
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@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

7 participants
X Tutup