Browse Source

Fix intermittent test failures.

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

+ 4 - 0
tests/Perspex.SceneGraph.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.SceneGraph.UnitTests")]
+
+// Don't run tests in parallel.
+[assembly: CollectionBehavior(DisableTestParallelization = true)]