Skip to content

[release/9.0-rc1] Fix OptimisticConcurrencyCosmosTest#34443

Merged
AndriySvyryd merged 1 commit intorelease/9.0-rc1from
FixOptimisticConcurrencyCosmosTest
Aug 15, 2024
Merged

[release/9.0-rc1] Fix OptimisticConcurrencyCosmosTest#34443
AndriySvyryd merged 1 commit intorelease/9.0-rc1from
FixOptimisticConcurrencyCosmosTest

Conversation

@AndriySvyryd
Copy link
Copy Markdown
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 a team and artl93 August 14, 2024 23:51
@AndriySvyryd AndriySvyryd merged commit e914e92 into release/9.0-rc1 Aug 15, 2024
@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