Skip to content

test: fix flaky test-http2-ping-flood - #19395

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:fix-http2-ping-flood
Closed

test: fix flaky test-http2-ping-flood#19395
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:fix-http2-ping-flood

Conversation

@Trott

Copy link
Copy Markdown
Member

The test is unreliable on some Windows platforms in its current form.
Make it more robust by using setInterval() to repeat the flooding
until an error is triggered.

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

The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Mar 16, 2018
@Trott

Copy link
Copy Markdown
MemberAuthor

CI: https://ci.nodejs.org/job/node-test-pull-request/13707/

If this works, this may be the first green CI in a loooooong time....

@Trott

Copy link
Copy Markdown
MemberAuthor

Three CI failures, all unrelated. Windows is green for the first time in probably weeks or more!

Trying CI again: https://ci.nodejs.org/job/node-test-pull-request/13708/

@Trott

Copy link
Copy Markdown
MemberAuthor

Ci is green. Like, not yellow. Green. Honest green. Let's land this, shall we?

@TrottTrott added the fast-track PRs that do not need to wait for 48 hours to land. label Mar 16, 2018
message:
'Flooding was detected in this HTTP/2 session, and it must be closed'
}));
session.on('error',(e)=>{

@richardlaurichardlauMar 17, 2018

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.

Maybe keep common.expectsError and have a second session.on('error', ... for clearInterval?

Edit: not blocking (let's get that CI green), I just find common.expectsError clearer.

@TrottTrott added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 17, 2018
Trott added a commit to Trott/io.js that referenced this pull request Mar 19, 2018
The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
PR-URL: nodejs#19395
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@Trott

Copy link
Copy Markdown
MemberAuthor

Landed in 0fb017d

@TrottTrott closed this Mar 19, 2018
MylesBorins pushed a commit that referenced this pull request Mar 20, 2018
The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
PR-URL: #19395
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 20, 2018
The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
PR-URL: #19395
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@targostargos mentioned this pull request Mar 20, 2018
@tniessentniessen removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 24, 2018
BethGriggs pushed a commit that referenced this pull request Oct 26, 2018
The test is unreliable on some Windows platforms in its current form.
Make it more robust by using `setInterval()` to repeat the flooding
until an error is triggered.
PR-URL: #19395
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Oct 30, 2018
@Trott
Trott deleted the fix-http2-ping-flood branch January 13, 2022 22:48
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-trackPRs that do not need to wait for 48 hours to land.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@Trott@jasnell@daynin@addaleax@richardlau@tniessen@BethGriggs@nodejs-github-bot