Skip to content

Commit

Permalink
Generate async files
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 8, 2024
1 parent b5e7f68 commit 0e6eae8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,9 @@ public async Task EnforceConnectionUsageRulesOnTransactionCompletionAsync()
public async Task SupportsTransactionTimeoutAsync()
{
Assume.That(TestDialect.SupportsTransactionScopeTimeouts, Is.True, "The tested dialect is not supported for transaction scope timeouts.");
// ODBC always freezes the session during transaction scopes timeouts.
Assume.That(Sfi.ConnectionProvider.Driver, Is.Not.InstanceOf(typeof(OdbcDriver)), "ODBC is not supported for transaction scope timeouts.");
// Other special cases: ODBC succeeds this test only with transaction.ignore_session_synchronization_failures enabled.
// It freezes the session during the transaction cancellation. To avoid the test to be very long, the synchronization
// lock timeout should be lowered too.

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

Expand Down

0 comments on commit 0e6eae8

Please sign in to comment.