diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-05-02 17:48:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-02 17:48:45 +0200 |
| commit | 7eb9f579a8ddd1791a5a86c1c21ce189bba9e354 (patch) | |
| tree | f64205723d1ff09957fe2350d58b772554ce3c13 /tests | |
| parent | ea5bc901899bc9d9db96a5a61df3c43078e0003d (diff) | |
| parent | bdd7a37794518b0487b191e7dbbbd3beb2397458 (diff) | |
Merge pull request #5955 from Bond-009/tests6
Don't run integration tests in parallel
Diffstat (limited to 'tests')
| -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 +} |
