-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #1750 * Start by adding a test that demonstrates the error. Give a 5ms cancellation to `BasicConsumeAsync`, with a much longer delay via a hacked RabbitMQ. If running in debug mode, you will see the same `task canceled` exception, but it does not propagate to the test itself. * Set cancellation correctly for TaskCompletionSource in AsyncRpcContinuation * Handle continuation cancellation and timeouts correctly * Refactor repeated code * Add wait on `RegisteredAsync` to see how the changes in #1750 affect the order of operations. * Check to ensure no connection shutdown in `TestBasicConsumeCancellation_GH1750` * @danielmarbach noticed an improvement. Do not elide `await` here. * Extend GHA timeout for Windows builds, yuck (see actions/runner-images#7320)
- Loading branch information
1 parent
662ace3
commit 59fa75c
Showing
7 changed files
with
351 additions
and
172 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
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
Oops, something went wrong.