-
Notifications
You must be signed in to change notification settings - Fork 29.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: remove dead code in test-http2-misbehaving-multiplex #54860
Conversation
stream.on('error', () => {}); | ||
stream.on('close', (err) => { | ||
if (stream.id === 1) { | ||
if (gotFirstStreamId1) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this branch was taken, the test would fail because there is nothing that calls the function returned by common.expectsError()
below.
Does this also deflake it? |
No. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #54860 +/- ##
=======================================
Coverage 87.90% 87.90%
=======================================
Files 651 651
Lines 183343 183343
Branches 35710 35712 +2
=======================================
+ Hits 161165 161168 +3
+ Misses 15466 15455 -11
- Partials 6712 6720 +8 |
This could be closed in favor of #54872. |
Landed in 9db6327 |
PR-URL: #54860 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #54860 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
PR-URL: #54860 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
As titled.