Skip to content

Commit c54353c

Browse files
authored
Update to .NET SDK 7 Preview 6 (dotnet#28431)
* Increase timeout for the Cosmos Emulator in CI * Revert "Workaround for Sqlite/InMemory test failures on OSX (dotnet#28328)" (50300fb).
1 parent 08a1b45 commit c54353c

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

.github/workflows/TestCosmos.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Start Cosmos Emulator
1818
run: |
1919
Import-Module "$env:ProgramFiles\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
20-
Start-CosmosDbEmulator
20+
Start-CosmosDbEmulator -Timeout 360
2121
2222
- name: Checkout
2323
uses: actions/checkout@v2
@@ -26,5 +26,10 @@ jobs:
2626
run: restore.cmd
2727
shell: cmd
2828

29+
- name: Build
30+
run: build.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj
31+
shell: cmd
32+
2933
- name: Test on Cosmos
30-
run: .dotnet\dotnet test test\EFCore.Cosmos.FunctionalTests
34+
run: test.cmd /p:Projects=${{ github.workspace }}\test\EFCore.Cosmos.FunctionalTests\EFCore.Cosmos.FunctionalTests.csproj
35+
shell: cmd

azure-pipelines.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ stages:
132132
- script: eng/common/cibuild.sh --configuration $(_BuildConfig) --prepareMachine $(_InternalRuntimeDownloadArgs)
133133
env:
134134
Test__Cosmos__DefaultConnection: $(_CosmosConnectionUrl)
135-
COMPlus_EnableWriteXorExecute: 0 # Work-around for https://github.com/dotnet/runtime/issues/70758
136135
name: Build
137136
- task: PublishBuildArtifacts@1
138137
displayName: Upload TestResults
@@ -239,7 +238,6 @@ stages:
239238
HelixAccessToken: $(_HelixAccessToken)
240239
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
241240
MSSQL_SA_PASSWORD: "Password12!"
242-
COMPlus_EnableWriteXorExecute: 0 # Work-around for https://github.com/dotnet/runtime/issues/70758
243241

244242
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
245243
- template: eng\common\templates\post-build\post-build.yml

eng/helix.proj

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,6 @@
3737
</XUnitProject>
3838
</ItemGroup>
3939

40-
<!-- Work-around for https://github.com/dotnet/runtime/issues/70758 -->
41-
<ItemGroup Condition = "'$(HelixTargetQueue.StartsWith(`OSX`))'">
42-
<XUnitProject Update="$(RepoRoot)/test/EFCore.InMemory.FunctionalTests/*.csproj;$(RepoRoot)/test/EFCore.Sqlite.FunctionalTests/*.csproj">
43-
<PreCommands>$(PreCommands); export COMPlus_EnableWriteXorExecute=0</PreCommands>
44-
</XUnitProject>
45-
</ItemGroup>
46-
4740
<!-- Start SqlServer instance for test projects which uses SqlServer on docker. Also remove other projects as they will be run outside of docker. -->
4841
<ItemGroup Condition = "'$(HelixTargetQueue.Contains(`ubuntu-18.04-helix-sqlserver-amd64`))'">
4942
<XUnitProject Remove="$(RepoRoot)/test/**/*.csproj"/>

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"tools": {
3-
"dotnet": "7.0.100-preview.5.22307.18"
3+
"dotnet": "7.0.100-preview.6.22352.1"
44
},
55
"sdk": {
6-
"version": "7.0.100-preview.5.22307.18",
6+
"version": "7.0.100-preview.6.22352.1",
77
"allowPrerelease": true,
88
"rollForward": "latestMajor"
99
},

0 commit comments

Comments
 (0)