We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60c77cb + 8d725bf commit 503fc2aCopy full SHA for 503fc2a
src/NHibernate.Test/NHSpecificTest/NH1908ThreadSafety/Fixture.cs
@@ -1,5 +1,6 @@
1
using System;
2
using System.Collections.Generic;
3
+using System.Linq;
4
using System.Threading;
5
using NUnit.Framework;
6
@@ -44,7 +45,11 @@ public void UsingFiltersIsThreadSafe()
44
45
thread.Join();
46
}
47
- Assert.AreEqual(0, errors.Count);
48
+ Console.WriteLine("Detected {0} errors in threads. Displaying the first three (if any):", errors.Count);
49
+ foreach (var exception in errors.Take(3))
50
+ Console.WriteLine(exception);
51
+
52
+ Assert.AreEqual(0, errors.Count, "number of threads with exceptions");
53
54
55
private void ScenarioRunningWithMultiThreading()
0 commit comments