Skip to content

Conversation

@AndriySvyryd
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes test failures in Cosmos DB functional tests by making two adjustments: reducing the entity count in one test to avoid bulk execution limits, and restricting several DateTimeOffset translation tests to only run on the Cosmos emulator where they have known issues.

  • Renamed a property to be more descriptive of its purpose
  • Reduced entity count in one test from 200 to 100 to avoid triggering bulk execution warnings
  • Added [CosmosCondition(CosmosCondition.IsEmulator)] attributes to 8 DateTimeOffset translation tests

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/EFCore.Cosmos.FunctionalTests/Update/CosmosBulkWarningTest.cs Reduced entity count from 200 to 100 in one test method and renamed the Message property to BulkExecutionWithTransactionalBatchMessage for better clarity
test/EFCore.Cosmos.FunctionalTests/Query/Translations/Temporal/DateTimeOffsetTranslationsCosmosTest.cs Added [CosmosCondition(CosmosCondition.IsEmulator)] attribute to 8 test methods (Year, Month, Day, Hour, Minute, Second, Millisecond, Microsecond) to restrict them to emulator execution

@AndriySvyryd AndriySvyryd merged commit 98f11ba into main Dec 22, 2025
12 of 13 checks passed
@AndriySvyryd AndriySvyryd deleted the FixCosmosTests branch December 22, 2025 19:31
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.

3 participants