Skip to content

Commit

Permalink
non parallel test
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Dec 31, 2019
1 parent 9fcf5aa commit 87cf8f5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- run: dotnet build ./src/MagicOnion.Redis/ -c Debug
# - run: dotnet build ./src/MagicOnion.UniversalCodeGenerator/ -c Debug
- run: dotnet build ./src/MagicOnion.OpenTelemetry/ -c Debug
- run: dotnet test ./tests/MagicOnion.NetCoreTests/ -c Debug -- xunit.parallelizeTestCollections=false
- run: dotnet test ./tests/MagicOnion.NetCoreTests/ -c Debug
- run: dotnet test ./tests/MagicOnion.Hosting.Tests/ -c Debug
build-push:
executor: dotnet
Expand Down
6 changes: 6 additions & 0 deletions tests/MagicOnion.NetCoreTests/MagicOnion.NetCoreTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@
<ProjectReference Include="..\..\src\MagicOnion\MagicOnion.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
4 changes: 4 additions & 0 deletions tests/MagicOnion.NetCoreTests/xunit.runner.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"parallelizeAssembly": false,
"parallelizeTestCollections": false
}

0 comments on commit 87cf8f5

Please sign in to comment.