@@ -33,23 +33,23 @@ public static class MARSSessionPoolingTest
3333 } ) . ConnectionString ;
3434
3535 // Synapse: Catalog view 'dm_exec_connections' is not supported in this version.
36- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) ) ]
36+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
3737 public static void MarsExecuteScalar_AllFlavors ( )
3838 {
3939 TestMARSSessionPooling ( "Case: Text, ExecuteScalar" , _testConnString , CommandType . Text , ExecuteType . ExecuteScalar , ReaderTestType . ReaderClose , GCType . Wait ) ;
4040 TestMARSSessionPooling ( "Case: RPC, ExecuteScalar" , _testConnString , CommandType . StoredProcedure , ExecuteType . ExecuteScalar , ReaderTestType . ReaderClose , GCType . Wait ) ;
4141 }
4242
4343 // Synapse: Catalog view 'dm_exec_connections' is not supported in this version.
44- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) ) ]
44+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
4545 public static void MarsExecuteNonQuery_AllFlavors ( )
4646 {
4747 TestMARSSessionPooling ( "Case: Text, ExecuteNonQuery" , _testConnString , CommandType . Text , ExecuteType . ExecuteNonQuery , ReaderTestType . ReaderClose , GCType . Wait ) ;
4848 TestMARSSessionPooling ( "Case: RPC, ExecuteNonQuery" , _testConnString , CommandType . StoredProcedure , ExecuteType . ExecuteNonQuery , ReaderTestType . ReaderClose , GCType . Wait ) ;
4949 }
5050
5151 // Synapse: Catalog view 'dm_exec_connections' is not supported in this version.
52- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) ) ]
52+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
5353 public static void MarsExecuteReader_Text_NoGC ( )
5454 {
5555 TestMARSSessionPooling ( "Case: Text, ExecuteReader, ReaderClose" , _testConnString , CommandType . Text , ExecuteType . ExecuteReader , ReaderTestType . ReaderClose , GCType . Wait ) ;
@@ -58,7 +58,7 @@ public static void MarsExecuteReader_Text_NoGC()
5858 }
5959
6060 // Synapse: Stored procedure sp_who does not exist or is not supported.
61- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) ) ]
61+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
6262 public static void MarsExecuteReader_RPC_NoGC ( )
6363 {
6464 TestMARSSessionPooling ( "Case: RPC, ExecuteReader, ReaderClose" , _testConnString , CommandType . StoredProcedure , ExecuteType . ExecuteReader , ReaderTestType . ReaderClose , GCType . Wait ) ;
@@ -68,7 +68,7 @@ public static void MarsExecuteReader_RPC_NoGC()
6868
6969 // Synapse: Catalog view 'dm_exec_connections' is not supported in this version.
7070 [ ActiveIssue ( "11167" ) ]
71- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) ) ]
71+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
7272 public static void MarsExecuteReader_Text_WithGC ( )
7373 {
7474 TestMARSSessionPooling ( "Case: Text, ExecuteReader, GC-Wait" , _testConnString , CommandType . Text , ExecuteType . ExecuteReader , ReaderTestType . ReaderGC , GCType . Wait ) ;
@@ -77,7 +77,7 @@ public static void MarsExecuteReader_Text_WithGC()
7777
7878 // Synapse: Stored procedure sp_who does not exist or is not supported.
7979 [ ActiveIssue ( "8959" ) ]
80- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) ) ]
80+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . AreConnStringsSetup ) , nameof ( DataTestUtility . IsNotAzureSynapse ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
8181 public static void MarsExecuteReader_StoredProcedure_WithGC ( )
8282 {
8383 TestMARSSessionPooling ( "Case: RPC, ExecuteReader, GC-Wait" , _testConnString , CommandType . StoredProcedure , ExecuteType . ExecuteReader , ReaderTestType . ReaderGC , GCType . Wait ) ;
0 commit comments