-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The test was failing because the dial attempt would sometimes timeout and return a different error. Change the test to first wait for the request to be received by the server, and then check that context cancellation is honoured. We do this by explicitly cancelling the context, rather than using a timeout. (cherry picked from commit 062cb9c) Co-authored-by: Andrew Wilkins <[email protected]>
- Loading branch information
1 parent
fdb2c62
commit 26a957b
Showing
1 changed file
with
37 additions
and
18 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