@@ -73,7 +73,7 @@ private void ValidateNullJson(SqlDataReader reader)
7373 }
7474 }
7575
76- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
76+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
7777 public void TestJsonWrite ( )
7878 {
7979 string tableName = DataTestUtility . GenerateObjectName ( ) ;
@@ -137,7 +137,7 @@ public void TestJsonWrite()
137137 }
138138 }
139139
140- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
140+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
141141 public async Task TestJsonWriteAsync ( )
142142 {
143143 string tableName = DataTestUtility . GenerateObjectName ( ) ;
@@ -201,7 +201,7 @@ public async Task TestJsonWriteAsync()
201201 }
202202 }
203203
204- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
204+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
205205 public void TestJsonRead ( )
206206 {
207207 string tableName = DataTestUtility . GenerateObjectName ( ) ;
@@ -260,7 +260,7 @@ public void TestJsonRead()
260260 }
261261 }
262262
263- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
263+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
264264 public async Task TestJsonReadAsync ( )
265265 {
266266 string tableName = DataTestUtility . GenerateObjectName ( ) ;
@@ -319,7 +319,7 @@ public async Task TestJsonReadAsync()
319319 }
320320 }
321321
322- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
322+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
323323 public void TestNullJson ( )
324324 {
325325 string tableName = DataTestUtility . GenerateObjectName ( ) ;
@@ -350,7 +350,7 @@ public void TestNullJson()
350350 DataTestUtility . DropTable ( connection , tableName ) ;
351351 }
352352
353- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
353+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
354354 public void TestJsonAPIs ( )
355355 {
356356 string tableName = DataTestUtility . GenerateObjectName ( ) ;
@@ -398,7 +398,7 @@ public void TestJsonAPIs()
398398 }
399399 }
400400
401- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
401+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
402402 public void TestJsonWithMARS ( )
403403 {
404404 string table1Name = DataTestUtility . GenerateObjectName ( ) ;
@@ -454,7 +454,7 @@ public void TestJsonWithMARS()
454454 }
455455 }
456456
457- [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) ) ]
457+ [ ConditionalFact ( typeof ( DataTestUtility ) , nameof ( DataTestUtility . IsAzureServer ) , nameof ( DataTestUtility . IsNotManagedInstance ) ) ]
458458 public void TestJsonSPParams ( )
459459 {
460460 string tableName = DataTestUtility . GenerateObjectName ( ) ;
0 commit comments