Skip to content

Commit 2377745

Browse files
MichelZbenrr101
authored andcommitted
Fix azure check
1 parent 2747695 commit 2377745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ private static void RunAllTestsForSingleServer(string connectionString, bool usi
180180
OutOfOrderGetChars(connectionString);
181181

182182
// Azure Database does not support Server scoped XEvents
183-
if (!Utils.IsAzureSqlServer(connectionString))
183+
if (!Utils.IsAzureSqlServer(new SqlConnectionStringBuilder(connectionString).DataSource))
184184
{
185185
TestXEventsStreaming(connectionString);
186186
}

0 commit comments

Comments
 (0)