Skip to content
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

[Internal] Gates: Fixes bug where CosmosOperaitonCancellationException is now thrown in CancellationTokenTests #5076

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NaluTripician
Copy link
Contributor

Pull Request Template

Description

In our pipelines, the most common flaky test is related to the CosmosOperationCanceledExceptionTests class. Here, about 50% of the time, an OperationCancelledException is thrown when the correct exception is CosmosOperationCanceledException. This PR makes sure that the correct exception is thrown in the AbstractRetryHandler class where the exceptions originate from.

Type of change

Please delete options that are not relevant.

  • [] Bug fix (non-breaking change which fixes an issue)

Closing issues

To automatically close an issue: closes #IssueNumber

@NaluTripician
Copy link
Contributor Author

This change will actually be covered in: #5063

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants