Skip to content

Commit

Permalink
tests: fix xUnit deadlock issue
Browse files Browse the repository at this point in the history
  • Loading branch information
undrcrxwn committed Mar 22, 2024
1 parent 87b3e79 commit 25d91b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/CrowdParlay.Social.IntegrationTests/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// MaxParallelThreads = -1 is required to prevent xUnit deadlock issue when running tests in environments with low Environment.ProcessorCount.
// See: https://github.com/xunit/xunit/issues/1747
[assembly: CollectionBehavior(MaxParallelThreads = -1)]

0 comments on commit 25d91b1

Please sign in to comment.