-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Use port 8800 for Cosmos emulator on Helix #37110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -13,6 +13,7 @@ | |||||
| <EnableAzurePipelinesReporter>true</EnableAzurePipelinesReporter> | ||||||
| <FailOnTestFailure>true</FailOnTestFailure> | ||||||
| <SqlServerTests>$(RepoRoot)/test/EFCore.SqlServer.FunctionalTests/*.csproj;$(RepoRoot)/test/EFCore.SqlServer.HierarchyId.Tests/*.csproj;$(RepoRoot)/test/EFCore.OData.FunctionalTests/*.csproj;$(RepoRoot)/test/EFCore.AspNet.SqlServer.FunctionalTests/*.csproj;$(RepoRoot)/test/EFCore.VisualBasic.FunctionalTests/*.vbproj</SqlServerTests> | ||||||
| <CosmosTests>$(RepoRoot)/test/EFCore.Cosmos.FunctionalTests/*.csproj;</CosmosTests> | ||||||
| </PropertyGroup> | ||||||
|
|
||||||
| <PropertyGroup Condition = "'$(SYSTEM_ACCESSTOKEN)' == ''"> | ||||||
|
|
@@ -70,7 +71,14 @@ | |||||
| <!-- Remove test projects which requires SqlServer from Ubuntu/OSX. --> | ||||||
| <ItemGroup Condition = "'$(HelixTargetQueue.StartsWith(`OSX`))' OR '$(HelixTargetQueue)' == 'Ubuntu.2204.Amd64.XL.Open' OR '$(HelixTargetQueue)' == 'Ubuntu.2204.Amd64.XL'"> | ||||||
| <XUnitProject Remove="$(SqlServerTests)"/> | ||||||
| </ItemGroup> | ||||||
| </ItemGroup> | ||||||
|
|
||||||
| <!-- Set Cosmos emulator connection on Windows --> | ||||||
| <ItemGroup Condition = "'$(HelixTargetQueue.StartsWith(`Windows`))'"> | ||||||
| <XUnitProject Update="$(CosmosTests)"> | ||||||
| <PreCommands>$(PreCommands);set Test__Cosmos__SkipConnectionCheck=true;set Test__Cosmos__DefaultConnection=https://localhost:8800</PreCommands> | ||||||
|
||||||
| <PreCommands>$(PreCommands);set Test__Cosmos__SkipConnectionCheck=true;set Test__Cosmos__DefaultConnection=https://localhost:8800</PreCommands> | |
| <PreCommands>$(PreCommands); set Test__Cosmos__SkipConnectionCheck=true; set Test__Cosmos__DefaultConnection=https://localhost:8800</PreCommands> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The trailing semicolon after the wildcard pattern is unnecessary and could potentially cause issues with path matching. MSBuild property values typically don't require a trailing semicolon unless multiple values are being concatenated. This should be
<CosmosTests>$(RepoRoot)/test/EFCore.Cosmos.FunctionalTests/*.csproj</CosmosTests>without the trailing semicolon.