Skip to content

Commit 42af102

Browse files
NH-2176 - Cleanup of connection manager. It has already quite changed.
1 parent 55f0f4f commit 42af102

File tree

2 files changed

+108
-150
lines changed

2 files changed

+108
-150
lines changed

src/NHibernate.Test/NHSpecificTest/NH2176/Fixture.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ protected override void OnSetUp()
1313
using (var s = OpenSession())
1414
using (var tx = s.BeginTransaction())
1515
{
16-
var steve = new Person {Name = "Steve"};
17-
var peter = new Person {Name = "Peter"};
18-
var simon = new Person {Name = "Simon"};
19-
var paul = new Person {Name = "Paul"};
20-
var john = new Person {Name = "John"};
21-
var eric = new Person {Name = "Eric"};
16+
var steve = new Person { Name = "Steve" };
17+
var peter = new Person { Name = "Peter" };
18+
var simon = new Person { Name = "Simon" };
19+
var paul = new Person { Name = "Paul" };
20+
var john = new Person { Name = "John" };
21+
var eric = new Person { Name = "Eric" };
2222

2323
s.Save(steve);
2424
s.Save(peter);
@@ -65,8 +65,8 @@ public void MultipleConsecutiveTransactionScopesCanBeUsedInsideASingleSession()
6565
scope.Complete();
6666
}
6767

68-
// The exeption is caused by a race condition between two threads.
69-
// This can be demonstracted by uncommenting the following line which
68+
// The exception is caused by a race condition between two threads.
69+
// This can be demonstrated by uncommenting the following line which
7070
// causes the test to run without an exception.
7171
//System.Threading.Thread.Sleep(1000);
7272
}

0 commit comments

Comments
 (0)