Don't run integration tests in parallel

* Easier to debug failing tests when the logs aren't scrambled
* Static properties could cause issues
This commit is contained in:
Bond_009 2021-05-02 13:04:35 +02:00
parent ea5bc90189
commit bdd7a37794
2 changed files with 11 additions and 0 deletions

View file

@ -22,6 +22,13 @@
<PackageReference Include="Moq" Version="4.16.0" />
</ItemGroup>
<ItemGroup>
<!-- Don't run tests in parallel -->
<None Update="xunit.runner.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<!-- Code Analyzers -->
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />

View file

@ -0,0 +1,4 @@
{
"parallelizeAssembly": false,
"parallelizeTestCollections": false
}