[test-only] Run Cosmos tests against the (vnext-latest) Linux emulator#38413
Open
Copilot wants to merge 1 commit into
Open
[test-only] Run Cosmos tests against the (vnext-latest) Linux emulator#38413Copilot wants to merge 1 commit into
vnext-latest) Linux emulator#38413Copilot wants to merge 1 commit into
Conversation
Copilot created this pull request from a session on behalf of
AndriySvyryd
June 11, 2026 21:33
View session
Copilot
AI
changed the title
Run Cosmos tests against the Linux emulator (
Run Cosmos tests against the Linux emulator (Jun 11, 2026
vnext-latest) and drop the skip machineryvnext-latest)
… tests Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
374eda8 to
ed84f99
Compare
vnext-latest)vnext-latest)
vnext-latest)vnext-latest) Linux emulator
There was a problem hiding this comment.
Pull request overview
Updates the Cosmos Linux emulator used in EF Core’s functional test infrastructure to vnext-latest and re-enables several previously Linux-emulator-skipped tests now expected to pass against that image.
Changes:
- Switch the Linux emulator container image from
vnext-previewtovnext-latest(both in testcontainer startup and GitHub Actions service container). - Remove the Linux-emulator-specific
SaveChangesinterceptor that forcedAutoTransactionBehavior.Never. - Unskip/reenable various Cosmos functional tests for the Linux emulator and refresh linked emulator-issue references in comments.
Reviewed changes
Copilot reviewed 22 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| test/EFCore.Cosmos.FunctionalTests/Update/CosmosBulkExecutionTest.cs | Re-enables bulk execution tests on Linux emulator by switching to unconditional [Fact]. |
| test/EFCore.Cosmos.FunctionalTests/Update/CosmosBulkConcurrencyTest.cs | Removes Linux-emulator skip overrides so base concurrency tests run on Linux emulator. |
| test/EFCore.Cosmos.FunctionalTests/Types/CosmosTemporalTypeTest.cs | Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery cases. |
| test/EFCore.Cosmos.FunctionalTests/Types/CosmosNumericTypeTest.cs | Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery cases. |
| test/EFCore.Cosmos.FunctionalTests/Types/CosmosMiscellaneousTypeTest.cs | Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery cases. |
| test/EFCore.Cosmos.FunctionalTests/TestUtilities/LinuxEmulatorSaveChangesInterceptor.cs | Removes interceptor previously used to disable transactional batching on Linux emulator. |
| test/EFCore.Cosmos.FunctionalTests/TestUtilities/CosmosTestStore.cs | Stops injecting the removed Linux-emulator SaveChanges interceptor into test contexts. |
| test/EFCore.Cosmos.FunctionalTests/TestUtilities/CosmosTestEnvironment.cs | Updates Linux emulator testcontainer image to vnext-latest. |
| test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryTest.cs | Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator. |
| test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryRootDiscriminatorInIdTest.cs | Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator. |
| test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryNoDiscriminatorInIdTest.cs | Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator. |
| test/EFCore.Cosmos.FunctionalTests/Query/ReadItemPartitionKeyQueryDiscriminatorInIdTest.cs | Refreshes emulator-issue references for hierarchical partition key behavior on Linux emulator. |
| test/EFCore.Cosmos.FunctionalTests/Query/PrimitiveCollectionsQueryCosmosTest.cs | Updates emulator-issue references for Linux-emulator-skipped aggregates-over-subqueries scenarios. |
| test/EFCore.Cosmos.FunctionalTests/Query/OwnedQueryCosmosTest.cs | Updates emulator-issue reference for a Linux-emulator-skipped aggregate/subquery scenario. |
| test/EFCore.Cosmos.FunctionalTests/Query/Associations/OwnedNavigations/OwnedNavigationsPrimitiveCollectionCosmosTest.cs | Updates emulator-issue reference for Linux-emulator-skipped aggregate/subquery scenario. |
| test/EFCore.Cosmos.FunctionalTests/Query/Associations/OwnedNavigations/OwnedNavigationsCollectionCosmosTest.cs | Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery scenarios. |
| test/EFCore.Cosmos.FunctionalTests/Query/Associations/ComplexProperties/ComplexPropertiesPrimitiveCollectionCosmosTest.cs | Updates emulator-issue reference for Linux-emulator-skipped aggregate/subquery scenario. |
| test/EFCore.Cosmos.FunctionalTests/Query/Associations/ComplexProperties/ComplexPropertiesCollectionCosmosTest.cs | Updates emulator-issue references for Linux-emulator-skipped aggregate/subquery scenarios. |
| test/EFCore.Cosmos.FunctionalTests/EndToEndCosmosTest.cs | Re-enables end-to-end transactional-batch parameterized test on Linux emulator by switching to unconditional [Theory]. |
| test/EFCore.Cosmos.FunctionalTests/CosmosTransactionalBatchTest.cs | Re-enables multiple transactional-batch tests on Linux emulator and adjusts one theory to run everywhere. |
| test/EFCore.Cosmos.FunctionalTests/CosmosSessionTokensTest.cs | Re-enables session token tests on Linux emulator and refreshes emulator-issue references. |
| .github/workflows/copilot-setup-steps.yml | Updates GitHub Actions service container to run the Linux emulator from vnext-latest. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update cosmos linux emulator image to vnext-latest and unskip passing tests.