Skip to content

Commit b95d29e

Browse files
committed
Disable parallel tests for different platforms in .NET 9.0
1 parent f213039 commit b95d29e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: psake-project.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Task Test -Depends Merge -Description "Run unit and integration tests against me
2323
# support halting the whole execution pipeline when "dotnet test" command fails due to a failed test,
2424
# silently allowing build process to continue its execution even with failed tests.
2525
Exec { dotnet test -c Release --no-build "tests\Hangfire.Core.Tests" }
26-
Exec { dotnet test -c Release --no-build "tests\Hangfire.SqlServer.Tests" }
27-
Exec { dotnet test -c Release --no-build "tests\Hangfire.SqlServer.Msmq.Tests" }
26+
Exec { dotnet test -c Release --no-build -p:TestTfmsInParallel=false "tests\Hangfire.SqlServer.Tests" }
27+
Exec { dotnet test -c Release --no-build -p:TestTfmsInParallel=false "tests\Hangfire.SqlServer.Msmq.Tests" }
2828
}
2929

3030
Task Collect -Depends Test -Description "Copy all artifacts to the build folder." {

0 commit comments

Comments
 (0)