Skip to content

test: disable warnings to fix flaky test - #40739

Closed
aduh95 wants to merge 1 commit into
nodejs:masterfrom
aduh95:fix-flaky-json-warning-in-message
Closed

test: disable warnings to fix flaky test#40739
aduh95 wants to merge 1 commit into
nodejs:masterfrom
aduh95:fix-flaky-json-warning-in-message

Conversation

@aduh95

Copy link
Copy Markdown
Contributor

Fixes: #40738

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Nov 6, 2021
@aduh95aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 6, 2021
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 6, 2021
@nodejs-github-bot

This comment has been minimized.

@targostargos 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, but do you know why the test doesn't fail all the time on all platforms?

@targostargos added the fast-track PRs that do not need to wait for 48 hours to land. label Nov 6, 2021
@github-actions

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @targos. Please 👍 to approve.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@aduh95

aduh95 commented Nov 6, 2021

Copy link
Copy Markdown
ContributorAuthor

LGTM, but do you know why the test doesn't fail all the time on all platforms?

Note sure, it could be related to something like a race condition between the warning being emitted asynchronously and the process crashing.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@MesteeryMesteery added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Nov 7, 2021
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@targos

Copy link
Copy Markdown
Member

Landed in a420da6

@targostargos closed this Nov 8, 2021
targos pushed a commit that referenced this pull request Nov 8, 2021
Fixes: #40738
PR-URL: #40739
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos pushed a commit that referenced this pull request Nov 8, 2021
Fixes: #40738
PR-URL: #40739
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@targostargos mentioned this pull request Nov 8, 2021
@aduh95
aduh95 deleted the fix-flaky-json-warning-in-message branch November 8, 2021 18:00
@danielleadams

Copy link
Copy Markdown
Contributor

@aduh95 I think this is related to #40250. Do you mind backporting this to v16.x-staging too?

aduh95 added a commit to aduh95/node that referenced this pull request Jan 31, 2022
Fixes: nodejs#40738
PR-URL: nodejs#40739
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
danielleadams pushed a commit that referenced this pull request Feb 1, 2022
Fixes: #40738
PR-URL: #40739
Backport-PR-URL: #41776
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@danielleadamsdanielleadams mentioned this pull request Feb 1, 2022
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.

Investigate flaky test - esm_display_syntax_error_import_json_named_export

6 participants

@aduh95@nodejs-github-bot@targos@danielleadams@lpinca@Mesteery