-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for
ConnectionCloseHeaderHandlingTest
(#3099)
Motivation: 1. `serverCloseSecondPipelinedRequestWriteAborted` test should write only portion of the `/second` request to simulate incomplete write. Currently, it writes the full content and then concats with `never()`. As a result, internal state machine of the pipelined connection (`RequestResponseCloseHandler`) thinks that we already finished the write. 2. `tearDown()` may throw NPE if we use `assume` to skip some test scenarios. Modifications: 1. Write only half of the intended content. 2. Add null checks inside `tearDown()` method.
- Loading branch information
1 parent
9fb0d0d
commit 0955acb
Showing
1 changed file
with
16 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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