Browse Source

Fix intermittent Perspex.Base.UnitTests failures.

Steven Kirk 10 years ago
parent
commit
ba95d1f35a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tests/Perspex.Base.UnitTests/Properties/AssemblyInfo.cs

+ 4 - 0
tests/Perspex.Base.UnitTests/Properties/AssemblyInfo.cs

@@ -2,5 +2,9 @@
 // Licensed under the MIT license. See licence.md file in the project root for full license information.
 
 using System.Reflection;
+using Xunit;
 
 [assembly: AssemblyTitle("Perspex.UnitTests")]
+
+// Don't run tests in parallel.
+[assembly: CollectionBehavior(DisableTestParallelization = true)]