Skip to content

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

Merged
nodejs-github-bot merged 2 commits intonodejs: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 intonodejs:mainfrom
debadree25:ft/improve-test-http-remove-header

Conversation

@debadree25
Copy link
Member

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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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. flaky-test Issues and PRs related to the tests with unstable failures on the CI. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants