Skip to content

Commit

Permalink
chore: Disable parallel tests for target frameworks that introduced a…
Browse files Browse the repository at this point in the history
…t .NET 9 preview2 (dotnet#9787)

chore: disable parallel target frameworks tests
  • Loading branch information
filzrev authored and p-kostov committed Jun 28, 2024
1 parent 5300a61 commit e99333b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>

<PropertyGroup>
<!--
.NET 9 preview 2 or later run tests in parallel by default.
It is necessary to disable this feature because there are tests that need to be executed sequentially that are marked with `[Collection("docfx STA")]`.
-->
<TestTfmsInParallel>false</TestTfmsInParallel>
</PropertyGroup>

<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />

<ItemGroup>
Expand Down

0 comments on commit e99333b

Please sign in to comment.