FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: fix flaky test-gc-net-timeout by ronag · Pull Request #31918 · nodejs/node · GitHub

/ node Public

test: fix flaky test-gc-net-timeout - #31918

Closed
ronag wants to merge 1 commit into
nodejs:masterfrom
nxtedition:test-flaky-gc-net-timeout
Closed

test: fix flaky test-gc-net-timeout#31918
ronag wants to merge 1 commit into
nodejs:masterfrom
nxtedition:test-flaky-gc-net-timeout

Conversation

ronag commented Feb 22, 2020

Copy link
Copy Markdown
Member

If the timeout is called in the time between 'end' and 'close' that would cause a EPIPE error. Essentially making the test flaky.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

If the timeout is called in the time between 'end' and 'close'
that would cause a EPIPE error. Essentially making the test flaky.
ronag added net Issues and PRs related to the net subsystem. flaky-test Issues and PRs related to the tests with unstable failures on the CI. labels Feb 22, 2020
ronag requested a review from addaleax February 22, 2020 21:03
nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 22, 2020
ronag added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Feb 22, 2020

Copy link
Copy Markdown
Collaborator

ronag mentioned this pull request Feb 22, 2020
4 tasks
sock.on('close', function() {
clearTimeout(timer);
});
sock.on('end', function() {

ronag Feb 22, 2020
edited
Loading

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

'end' will cause the writable side to be end():d due to allowHalfOpen: false.

nodejs-github-bot commented Feb 24, 2020
edited by addaleax
Loading

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/29300/ (:heavy_check_mark:)

ronag requested review from BridgeAR and benjamingr February 28, 2020 23:19

ronag commented Mar 1, 2020

Copy link
Copy Markdown
Member Author

The same change got an approval in another PR (#31806) so I will consider that as the second required approval.

ronag added a commit that referenced this pull request Mar 1, 2020
If the timeout is called in the time between 'end' and 'close'
that would cause a EPIPE error. Essentially making the test flaky.

PR-URL: #31918
Reviewed-By: Anna Henningsen <anna@addaleax.net>

ronag commented Mar 1, 2020

Copy link
Copy Markdown
Member Author

Landed in 1e8625c

ronag closed this Mar 1, 2020
codebytere mentioned this pull request Mar 3, 2020
codebytere pushed a commit that referenced this pull request Mar 3, 2020
If the timeout is called in the time between 'end' and 'close'
that would cause a EPIPE error. Essentially making the test flaky.

PR-URL: #31918
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere pushed a commit that referenced this pull request Mar 15, 2020
If the timeout is called in the time between 'end' and 'close'
that would cause a EPIPE error. Essentially making the test flaky.

PR-URL: #31918
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere pushed a commit that referenced this pull request Mar 17, 2020
If the timeout is called in the time between 'end' and 'close'
that would cause a EPIPE error. Essentially making the test flaky.

PR-URL: #31918
Reviewed-By: Anna Henningsen <anna@addaleax.net>
codebytere mentioned this pull request Mar 17, 2020
codebytere pushed a commit that referenced this pull request Mar 30, 2020
If the timeout is called in the time between 'end' and 'close'
that would cause a EPIPE error. Essentially making the test flaky.

PR-URL: #31918
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 outstanding review comments, and a CI started. flaky-test Issues and PRs related to the tests with unstable failures on the CI. net Issues and PRs related to the net subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL