Use port 8800 for Cosmos emulator on Helix#37110
Draft
AndriySvyryd wants to merge 1 commit intomainfrom
Draft
Conversation
cincuranet
approved these changes
Nov 7, 2025
SamMonoRT
approved these changes
Nov 7, 2025
Member
Author
84dfcc5 to
9a72c4a
Compare
Member
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Pull request overview
This PR configures the Cosmos DB emulator to use port 8800 specifically for Helix CI runs and adds a mechanism to skip connection checks to prevent tests from being skipped when the emulator is not immediately available.
Changes:
- Adds a
SkipConnectionCheckconfiguration flag that bypasses connection availability checks - Configures Helix Windows builds to use port 8800 for the Cosmos emulator and skip connection checks
- Simplifies the GitHub Actions Cosmos test workflow by combining restore, build, and test into a single command
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| test/EFCore.Cosmos.FunctionalTests/TestUtilities/TestEnvironment.cs | Adds SkipConnectionCheck property to read configuration for bypassing connection checks |
| test/EFCore.Cosmos.FunctionalTests/TestUtilities/CosmosTestStore.cs | Updates IsConnectionAvailableAsync to return true immediately when SkipConnectionCheck is enabled |
| eng/helix.proj | Adds Cosmos test configuration for Windows Helix queues with port 8800 and connection check skip |
| .github/workflows/TestCosmos.yaml | Simplifies workflow by combining build and test steps, adds SkipConnectionCheck environment variable |
Member
Author
|
The tests are now failing with |
249ae47 to
6b86657
Compare
auto-merge was automatically disabled
February 12, 2026 01:59
Pull request was converted to draft
Don't skip tests if emulator not available
e02e1d6 to
857aad5
Compare
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.
Don't skip tests if emulator not available
Fixes #19973