test: fix flaky test-http2-ping-flood · nodejs/node@38ed6c2 · GitHub
Skip to content

Commit 38ed6c2

Browse files
TrottBethGriggs
authored andcommitted
test: fix flaky test-http2-ping-flood
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>
1 parent 5b2f650 commit 38ed6c2

2 files changed

Lines changed: 14 additions & 11 deletions

File tree

test/sequential/sequential.status

Lines changed: 0 additions & 1 deletion

test/sequential/test-http2-ping-flood.js

Lines changed: 14 additions & 10 deletions

0 commit comments

Comments
 (0)