-
Notifications
You must be signed in to change notification settings - Fork 317
Labels
Area\TestsIssues that are targeted to tests or test projectsIssues that are targeted to tests or test projectsP3Use for tagging low priority issues, impacts a single customer, and is not a critical/high issue.Use for tagging low priority issues, impacts a single customer, and is not a critical/high issue.Triage Done ✔️Issues that are triaged by dev team and are in investigation.Issues that are triaged by dev team and are in investigation.Up-for-Grabs 🙌Issues that are ready to be picked up for anyone interested. Please self-assign and remove the labelIssues that are ready to be picked up for anyone interested. Please self-assign and remove the label
Description
We're seeing intermittent failures during CI test runs:
[xUnit.net 00:00:04.93] Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.XEventActivityIDConsistentWithTracing(query: "sp_help", commandType: StoredProcedure, xEvent: "rpc_starting") [FAIL]
[xUnit.net 00:00:04.93] Assert.Equal() Failure: Values differ
[xUnit.net 00:00:04.93] Expected: 1
[xUnit.net 00:00:04.93] Actual: 0
[xUnit.net 00:00:04.93] Stack Trace:
[xUnit.net 00:00:04.93] /_/src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/XEventsTracingTest.cs(67,0): at Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.GetCommandActivityId(String commandText, String eventName, Guid connectionId, XmlDocument xEvents)
[xUnit.net 00:00:04.93] /_/src/Microsoft.Data.SqlClient/tests/ManualTests/TracingTests/XEventsTracingTest.cs(51,0): at Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.XEventActivityIDConsistentWithTracing(String query, CommandType commandType, String xEvent)
[xUnit.net 00:00:04.93] at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
[xUnit.net 00:00:04.93] at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
Failed Microsoft.Data.SqlClient.ManualTesting.Tests.XEventsTracingTest.XEventActivityIDConsistentWithTracing(query: "sp_help", commandType: StoredProcedure, xEvent: "rpc_starting") [1 s]
These tests run commands against SQL Server instances and capture events. I suspect some timing issues.
Metadata
Metadata
Assignees
Labels
Area\TestsIssues that are targeted to tests or test projectsIssues that are targeted to tests or test projectsP3Use for tagging low priority issues, impacts a single customer, and is not a critical/high issue.Use for tagging low priority issues, impacts a single customer, and is not a critical/high issue.Triage Done ✔️Issues that are triaged by dev team and are in investigation.Issues that are triaged by dev team and are in investigation.Up-for-Grabs 🙌Issues that are ready to be picked up for anyone interested. Please self-assign and remove the labelIssues that are ready to be picked up for anyone interested. Please self-assign and remove the label