Skip to content

test: fix flaky test-zlib-unused-weak.js - #38149

Closed
oyyd wants to merge 1 commit into
nodejs:masterfrom
oyyd:fix-test
Closed

test: fix flaky test-zlib-unused-weak.js#38149
oyyd wants to merge 1 commit into
nodejs:masterfrom
oyyd:fix-test

Conversation

@oyyd

@oyydoyyd commented Apr 8, 2021

Copy link
Copy Markdown
Contributor

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.

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Apr 8, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/37292/

@richardlaurichardlau added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 8, 2021
@lpincalpinca mentioned this pull request Apr 9, 2021
@lpinca

Copy link
Copy Markdown
Member

Fast-track?

@mcollina

Copy link
Copy Markdown
Member

+1 to fast track

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@oyydoyyd added the fast-track PRs that do not need to wait for 48 hours to land. 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

oyyd commented Apr 9, 2021

Copy link
Copy Markdown
ContributorAuthor

Landed in f96dffb, thanks!

@oyydoyyd closed this Apr 9, 2021
targos pushed 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>
@danielleadamsdanielleadams mentioned this pull request May 3, 2021
danielleadams pushed 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.fast-trackPRs that do not need to wait for 48 hours to land.needs-ciPRs that need a full CI run.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@oyyd@nodejs-github-bot@lpinca@mcollina@jasnell@addaleax@richardlau