Skip to content

test: fix flaky test-http2-reset-flood#34318

Closed
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:fix-29802
Closed

test: fix flaky test-http2-reset-flood#34318
Trott wants to merge 2 commits into
nodejs:masterfrom
Trott:fix-29802

Conversation

@Trott

@Trott Trott commented Jul 12, 2020

Copy link
Copy Markdown
Member

Set allowHalfOpen: true in the client.

Fixes: #29802
Refs: #31806

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Set `allowHalfOpen: true` in the client.

Fixes: nodejs#29802
Refs: nodejs#31806
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Jul 12, 2020
@nodejs-github-bot

nodejs-github-bot commented Jul 12, 2020

Copy link
Copy Markdown
Collaborator

@Trott

Trott commented Jul 12, 2020

Copy link
Copy Markdown
Member Author

Stress test this PR (should be green): https://ci.nodejs.org/job/node-stress-single-test/111/

Stress test master branch (should be very red): https://ci.nodejs.org/job/node-stress-single-test/112/

@nodejs-github-bot

nodejs-github-bot commented Jul 12, 2020

Copy link
Copy Markdown
Collaborator

@Trott Trott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 12, 2020
@lpinca

lpinca commented Jul 12, 2020

Copy link
Copy Markdown
Member

Why allowHalfOpen was not needed before #31806? I mean #31806 was not meant to change net.Socket behavior no?

@Trott

Trott commented Jul 14, 2020

Copy link
Copy Markdown
Member Author

Why allowHalfOpen was not needed before #31806? I mean #31806 was not meant to change net.Socket behavior no?

A similar comment was left by @addaleax on the original PR: #31806 (comment)

/cc @ronag

@ronag

ronag commented Jul 14, 2020

Copy link
Copy Markdown
Member

I mean #31806 was not meant to change net.Socket behavior no?

It's a semver major... the timing of things might have changed. I believe onReadableStreamEnd was partly broken before and could cause 'finish' to be emitted after 'close' or something along those lines. Not sure anymore.

The full conversation is here https://github.com/nodejs/node/pull/31806/files#r386140400
Maybe related? #33137

@addaleax

Copy link
Copy Markdown
Member

Landed in 4195c31

@addaleax addaleax closed this Jul 14, 2020
addaleax pushed a commit that referenced this pull request Jul 14, 2020
Set `allowHalfOpen: true` in the client.

Fixes: #29802
Refs: #31806

PR-URL: #34318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
MylesBorins pushed a commit that referenced this pull request Jul 14, 2020
Set `allowHalfOpen: true` in the client.

Fixes: #29802
Refs: #31806

PR-URL: #34318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
@MylesBorins MylesBorins mentioned this pull request Jul 14, 2020
MylesBorins pushed a commit that referenced this pull request Jul 16, 2020
Set `allowHalfOpen: true` in the client.

Fixes: #29802
Refs: #31806

PR-URL: #34318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
cjihrig pushed a commit that referenced this pull request Jul 23, 2020
Set `allowHalfOpen: true` in the client.

Fixes: #29802
Refs: #31806

PR-URL: #34318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
Set `allowHalfOpen: true` in the client.

Fixes: #29802
Refs: #31806

PR-URL: #34318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
Set `allowHalfOpen: true` in the client.

Fixes: #29802
Refs: #31806

PR-URL: #34318
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
@codebytere codebytere mentioned this pull request Sep 28, 2020
@Trott Trott deleted the fix-29802 branch April 14, 2022 11:29
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. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flaky test-http2-reset-flood

5 participants