Skip to content

Conversation

@JoasE
Copy link
Contributor

@JoasE JoasE commented Oct 24, 2025

Only run exact cosmos EntityTooLarge tests on a real cosmos and add additional tests for emulator

@JoasE
Copy link
Contributor Author

JoasE commented Oct 24, 2025

I haven't ran against a real cosmos db, but am pretty sure they should now all succeed on either real or fake cosmos db. Tests might not fail when internal cosmos db sdk serialization logic changes, but I think we can be relatively sure we will remain within limits still

@AndriySvyryd
Copy link
Member

Yes, these all pass against real Cosmos

@JoasE
Copy link
Contributor Author

JoasE commented Oct 24, 2025

@AndriySvyryd Should I readd the deleted (flakish) tests aswell with [CosmosCondition(CosmosCondition.IsNotEmulator)] and a base value incremented with 7? (Can do that tomorrow)

@AndriySvyryd
Copy link
Member

@AndriySvyryd Should I readd the deleted (flakish) tests aswell with [CosmosCondition(CosmosCondition.IsNotEmulator)] and a base value incremented with 7? (Can do that tomorrow)

Sounds good

@JoasE JoasE changed the title Remove flaky tests for cosmos db and replace with slightly different Only run exact cosmos EntityTooLarge tests on a real cosmos and add additional tests for emulator Oct 25, 2025
…on a real cosmos db with CosmosCondition.IsNotEmulator
@JoasE
Copy link
Contributor Author

JoasE commented Oct 25, 2025

It might be a good idea to run this against a real cosmos before merging to be sure. @AndriySvyryd Could you do that easily?

@JoasE JoasE marked this pull request as ready for review October 25, 2025 10:04
Copy link
Member

@AndriySvyryd AndriySvyryd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not at the moment. In any case it won't be worse than the current situation

@AndriySvyryd AndriySvyryd merged commit af2d7b8 into dotnet:main Oct 25, 2025
7 checks passed
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