[main] Update dependencies from microsoft/testfx #7347
+6
−6
Merged
Azure Pipelines / microsoft.testfx
succeeded
Feb 5, 2026 in 41m 22s
Build #20260204.13 had test failures
Details
- Failed: 2 (0.00%)
- Passed: 46,698 (99.37%)
- Other: 293 (0.62%)
- Total: 46,993
- 173753 of 242414 blocks covered (71.68%)
- 117710 of 164633 lines covered (71.50%)
Annotations
azure-pipelines / microsoft.testfx
Microsoft.Testing.Platform.UnitTests.TaskExtensionsTests.CancellationAsyncWithReturnValue_ObserveException_Succeeds
Assert.ThrowsAsync failed. Expected exception type:<System.OperationCanceledException>. Actual exception type:<System.InvalidOperationException>. 'action' expression: 'async ()
=> await Task.Run(async () =>
{
await Task.Delay(TimeSpan.FromSeconds(5), TestContext.CancellationToken);
try
{
return 2;
}
finally
{
waitException.Set();
#pragma warning disable CA2219 // Do not raise exceptions in finally clauses
throw new InvalidOperationException();
#pragma warning restore CA2219 // Do not raise exceptions in finally clauses
}
}).WithCancellationAsync(token)'.
Raw output
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.<>c__DisplayClass243_1`1.<IsThrowsAsyncFailingAsync>b__1(String userMessage)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.<ThrowsExceptionAsync>d__241`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Testing.Platform.UnitTests.TaskExtensionsTests.<CancellationAsyncWithReturnValue_ObserveException_Succeeds>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.<ExecuteInternalAsync>d__56.MoveNext()
azure-pipelines / microsoft.testfx
Microsoft.Testing.Platform.UnitTests.ServerTests.ServerCanBeStartedAndAborted_TcpIp
Test method Microsoft.Testing.Platform.UnitTests.ServerTests.ServerCanBeStartedAndAborted_TcpIp threw exception:
System.InvalidOperationException: The operation is not allowed on non-connected sockets.
Raw output
at System.Net.Sockets.TcpClient.GetStream()
at Microsoft.Testing.Platform.ServerMode.ServerModeManager.MessageHandlerFactory.CreateMessageHandlerAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/ServerMode/JsonRpc/MessageHandlerFactory.cs:line 54
at Microsoft.Testing.Platform.Hosts.ServerTestHost.InternalRunAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.cs:line 140
at Microsoft.Testing.Platform.Hosts.ServerTestHost.InternalRunAsync(CancellationToken cancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/ServerTestHost.cs:line 158
at Microsoft.Testing.Platform.Hosts.CommonHost.RunTestAppAsync(IPlatformOpenTelemetryService platformOTelService, CancellationToken testApplicationCancellationToken) in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 130
at Microsoft.Testing.Platform.Hosts.CommonHost.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 44
at Microsoft.Testing.Platform.Hosts.CommonHost.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Hosts/CommonTestHost.cs:line 83
at Microsoft.Testing.Platform.Builder.TestApplication.RunAsync() in /_/src/Platform/Microsoft.Testing.Platform/Builder/TestApplication.cs:line 223
at Microsoft.Testing.Platform.UnitTests.ServerTests.ServerCanBeStartedAndAborted_TcpIp() in /_/test/UnitTests/Microsoft.Testing.Platform.UnitTests/ServerMode/ServerTests.cs:line 51
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.ExecuteInternalAsync(Object[] arguments, CancellationTokenSource timeoutTokenSource) in /_/src/Adapter/MSTestAdapter.PlatformServices/Execution/TestMethodInfo.cs:line 408
Loading