Skip to content

Commit c76f80d

Browse files
NH-4015 - dodging a latency issue in dtc tests.
1 parent 2f0fc42 commit c76f80d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/NHibernate.Test/NHSpecificTest/DtcFailures/DtcFailuresFixture.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ public void CanDeleteItemInDtc()
276276
}
277277
}
278278

279+
// Dodging "latency" due to db still haven't actually committed a distributed tx after scope disposal.
280+
Thread.Sleep(100);
281+
279282
using (var tx = new TransactionScope())
280283
{
281284
using (ISession s = sessions.OpenSession())

0 commit comments

Comments
 (0)