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

[release/9.0-rc1] Fix OptimisticConcurrencyCosmosTest #34443

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

AndriySvyryd
Copy link
Member

@AndriySvyryd AndriySvyryd commented Aug 14, 2024

Description
#34338 implemented a new seeding mechanism and used it in OptimisticConcurrencyCosmosTest. However, on the internal CI we run the tests against an actual Cosmos DB account as opposed to an emulator and use RBAC. This requires us to use the ARM SDK to create the containers, but this causes the Cosmos SDK cached metadata to become out of sync if the same instance of CosmosClient is used to query a container that was recreated.

This PR updates the workaround for the new seeding mechanism.

Customer impact
The build is broken

How found
Internal CI

Regression
N/A

Testing
Verified in a private run

Risk
N/A

@AndriySvyryd AndriySvyryd requested review from artl93 and a team August 14, 2024 23:51
@AndriySvyryd AndriySvyryd merged commit e914e92 into release/9.0-rc1 Aug 15, 2024
7 checks passed
@AndriySvyryd AndriySvyryd deleted the FixOptimisticConcurrencyCosmosTest branch August 15, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants