Skip to content

Comments

[TINY] Skip problematic Cosmos test#37706

Merged
roji merged 1 commit intodotnet:mainfrom
roji:CosmosTests
Feb 15, 2026
Merged

[TINY] Skip problematic Cosmos test#37706
roji merged 1 commit intodotnet:mainfrom
roji:CosmosTests

Conversation

@roji
Copy link
Member

@roji roji commented Feb 14, 2026

No description provided.

@roji roji requested a review from a team as a code owner February 14, 2026 08:58
Copilot AI review requested due to automatic review settings February 14, 2026 08:58
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 skips a problematic Cosmos DB test on macOS that causes severe issues when running the Cosmos emulator in a VM with ConnectionMode.Direct. The test is conditionally excluded using PlatformSkipCondition to avoid environment-specific failures.

Changes:

  • Adds PlatformSkipCondition attribute to skip the Should_not_throw_if_specified_connection_mode_is_right test on Mac
  • Simplifies test code by removing an unnecessary intermediate variable
  • Fixes trailing whitespace

@roji roji enabled auto-merge (squash) February 14, 2026 09:30
@roji roji merged commit a471ebf into dotnet:main Feb 15, 2026
17 checks passed
@roji roji deleted the CosmosTests branch February 15, 2026 18:50
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