Skip to content

Commit d955015

Browse files
Generate async files
1 parent a0f9ae2 commit d955015

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/NHibernate.Test/Async/SystemTransactions/SystemTransactionFixture.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,9 @@ public async Task EnforceConnectionUsageRulesOnTransactionCompletionAsync()
532532
public async Task SupportsTransactionTimeoutAsync()
533533
{
534534
Assume.That(TestDialect.SupportsTransactionScopeTimeouts, Is.True, "The tested dialect is not supported for transaction scope timeouts.");
535-
// ODBC always freezes the session during transaction scopes timeouts.
536-
Assume.That(Sfi.ConnectionProvider.Driver, Is.Not.InstanceOf(typeof(OdbcDriver)), "ODBC is not supported for transaction scope timeouts.");
535+
// Other special cases: ODBC succeeds this test only with transaction.ignore_session_synchronization_failures enabled.
536+
// It freezes the session during the transaction cancellation. To avoid the test to be very long, the synchronization
537+
// lock timeout should be lowered too.
537538

538539
// Test case adapted from https://github.com/kaksmet/NHibBugRepro
539540

0 commit comments

Comments
 (0)