-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix flakiness in
ResponseCancelTest
(#954)
__Motivation__ `ResponseCancelTest` is flaky due to a race condition that successful response or cancel will race to get to the connection filter and the result will either be success or failure. __Modification__ - `cancel()` and `cancelAfterSuccessOnTransport()` tests were both doing same actions unintentionally. Modified the test to reflect the intentions. - `cancelAfterSuccessOnTransport()` can either result in success or failure after the first request, modified test to verify the same. __Result__ Fix tests.
- Loading branch information
Nitesh Kant
authored
Mar 3, 2020
1 parent
e035da6
commit 90058f2
Showing
1 changed file
with
29 additions
and
20 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