diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-05-02 13:04:35 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-05-02 13:04:35 +0200 |
| commit | bdd7a37794518b0487b191e7dbbbd3beb2397458 (patch) | |
| tree | f64205723d1ff09957fe2350d58b772554ce3c13 | |
| parent | ea5bc901899bc9d9db96a5a61df3c43078e0003d (diff) | |
Don't run integration tests in parallel
* Easier to debug failing tests when the logs aren't scrambled
* Static properties could cause issues
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj | 7 | ||||
| -rw-r--r-- | tests/Jellyfin.Server.Integration.Tests/xunit.runner.json | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj b/tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj index c1d871126..938385a2a 100644 --- a/tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj +++ b/tests/Jellyfin.Server.Integration.Tests/Jellyfin.Server.Integration.Tests.csproj @@ -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" /> diff --git a/tests/Jellyfin.Server.Integration.Tests/xunit.runner.json b/tests/Jellyfin.Server.Integration.Tests/xunit.runner.json new file mode 100644 index 000000000..809e880c7 --- /dev/null +++ b/tests/Jellyfin.Server.Integration.Tests/xunit.runner.json @@ -0,0 +1,4 @@ +{ + "parallelizeAssembly": false, + "parallelizeTestCollections": false +} |
