Skip to content

Commit c190ca3

Browse files
committed
Use appropriate DataTestUtility method to check distributed transaction support.
1 parent 158f2e3 commit c190ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/TransactionTest/DistributedTransactionTest.Windows.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public async Task Delegated_transaction_deadlock_in_SinglePhaseCommit()
4646
#endif
4747

4848

49-
private static bool s_EnlistedTransactionPreservedWhilePooledCondition => DataTestUtility.AreConnStringsSetup() && DataTestUtility.IsNotX86Architecture;
49+
private static bool s_EnlistedTransactionPreservedWhilePooledCondition => DataTestUtility.AreConnStringsSetup() && DataTestUtility.IsSupportingDistributedTransactions();
5050

5151
[ConditionalFact(nameof(s_EnlistedTransactionPreservedWhilePooledCondition), Timeout = 10000)]
5252
public void Test_EnlistedTransactionPreservedWhilePooled()

0 commit comments

Comments
 (0)