Skip to content

Commit 0b7c6da

Browse files
committed
Add logging
1 parent 3e1a656 commit 0b7c6da

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/SQL/DataStreamTest/DataStreamTest.cs

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,20 @@ public static void RunAllTestsForSingleServer_NP()
3333
}
3434

3535
//[ActiveIssue("5540")]
36-
[ConditionalFact(typeof(DataTestUtility), nameof(DataTestUtility.AreConnStringsSetup))]
36+
[ConditionalFact(typeof(DataTestUtility), nameof(DataTestUtility.AreConnStringsSetup), nameof(DataTestUtility.IsNotNamedInstance))]
3737
public static void RunAllTestsForSingleServer_TCP()
3838
{
39-
RunAllTestsForSingleServer(DataTestUtility.TCPConnectionString, false);
39+
try
40+
{
41+
RunAllTestsForSingleServer(DataTestUtility.TCPConnectionString, false);
42+
}
43+
catch (Exception)
44+
{
45+
throw new Exception(DataTestUtility.TCPConnectionString);
46+
}
4047
}
4148

42-
// Synapse: The statement failed. Column 'foo' has a data type that cannot participate in a columnstore index.
49+
// Synapse: The statement failed. Column 'foo' has a data type that cannot participate in a columnstore index.
4350
[ConditionalFact(typeof(DataTestUtility), nameof(DataTestUtility.AreConnStringsSetup), nameof(DataTestUtility.IsNotAzureSynapse))]
4451
public static async Task AsyncMultiPacketStreamRead()
4552
{

0 commit comments

Comments
 (0)