Skip to content

Commit c63bfc9

Browse files
committed
Merge branch '3.4.x'
2 parents d91a7df + cf6b7ce commit c63bfc9

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/NHibernate.Test/Hql/Ast/HqlFixture.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,9 +331,6 @@ public void UnaryMinusBeforeParenthesesHandledCorrectly()
331331
int actualWorkaround = s.CreateQuery("select -1*(1+1) from Animal as h")
332332
.List<int>().Single();
333333
Assert.That(actualWorkaround, Is.EqualTo(-2));
334-
335-
s.CreateQuery("delete from Animal").ExecuteUpdate();
336-
txn.Commit();
337334
}
338335
}
339336
}

src/NHibernate.Test/Stateless/StatelessSessionFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void CreateUpdateReadDelete()
4848
Assert.IsTrue(initVersion.HasValue);
4949
tx.Commit();
5050
}
51-
Thread.Sleep(100); // Only to be secure that next modification have a different version
51+
Thread.Sleep(1100); // Ensure version increment (some dialects lack fractional seconds).
5252
using (tx = ss.BeginTransaction())
5353
{
5454
doc.Text = "blah blah blah .... blah";

0 commit comments

Comments
 (0)