Skip to content

test: reduce flakiness of parallel/test-http-remove-header-stays-removed.js - #46855

Merged
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
debadree25:ft/improve-test-http-remove-header
Mar 18, 2023
Merged

test: reduce flakiness of parallel/test-http-remove-header-stays-removed.js#46855
nodejs-github-bot merged 2 commits into
nodejs:mainfrom
debadree25:ft/improve-test-http-remove-header

Conversation

@debadree25

Copy link
Copy Markdown
Contributor

The test test-http-remove-header-stays-removed.js seems to be slightly flaky as seen in nodejs/reliability#508 and also reproducible locally by running python3 tools/test.py test/parallel/test-http-remove-header-stays-removed.js --repeat 1000

Since the test checks that the socket is closed right after receiving the last chunk of data hence moved the checking for the same after the data has been received and slightly increased the timeout, the flakiness no longer reproduces

Refs: nodejs/reliability#508
Refs: #46333

@nodejs-github-botnodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Feb 27, 2023
@debadree25
debadree25force-pushed the ft/improve-test-http-remove-header branch from 37b2da5 to 2c2b37cCompareFebruary 27, 2023 07:34
@debadree25debadree25 changed the title test: reduce flakiness of test/parallel/test-http-remove-header-stays-removed.jstest: reduce flakiness of parallel/test-http-remove-header-stays-removed.jsFeb 27, 2023
@debadree25debadree25 added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label Feb 27, 2023
@debadree25
debadree25force-pushed the ft/improve-test-http-remove-header branch from 2c2b37c to e0e39c6CompareFebruary 27, 2023 07:36
@ronag

Copy link
Copy Markdown
Member

Does this allow a bug during flakiness?

@debadree25

Copy link
Copy Markdown
ContributorAuthor

Does this allow a bug during flakiness?

Didn't get you? 😅😅

@debadree25debadree25 added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 28, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 28, 2023
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@debadree25

Copy link
Copy Markdown
ContributorAuthor

ping @ronag

Comment threadtest/parallel/test-http-remove-header-stays-removed.js Outdated
Co-authored-by: Matteo Collina <matteo.collina@gmail.com>
@mcollinamcollina added the request-ci Add this label to start a Jenkins CI on a PR. label Mar 13, 2023
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Mar 13, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@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

@debadree25debadree25 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Mar 16, 2023
@aduh95aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 18, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Mar 18, 2023
@nodejs-github-bot
nodejs-github-bot merged commit 9ce2f4f into nodejs:mainMar 18, 2023
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in 9ce2f4f

RafaelGSS pushed a commit that referenced this pull request Apr 5, 2023
Refs: nodejs/reliability#508
Refs: #46333
PR-URL: #46855
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@RafaelGSSRafaelGSS mentioned this pull request Apr 6, 2023
RafaelGSS pushed a commit that referenced this pull request Apr 7, 2023
Refs: nodejs/reliability#508
Refs: #46333
PR-URL: #46855
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
danielleadams pushed a commit that referenced this pull request Jul 6, 2023
Refs: nodejs/reliability#508
Refs: #46333
PR-URL: #46855
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.commit-queue-squashAdd this label to instruct the Commit Queue to squash all the PR commits into the first one.flaky-testIssues and PRs related to the tests with unstable failures on the CI.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.

5 participants

@debadree25@ronag@nodejs-github-bot@mcollina@aduh95