Cleanup MTP async data consumer #7423
Build #20260220.24 had test failures
Details
- Failed: 2 (0.02%)
- Passed: 8,378 (99.81%)
- Other: 14 (0.17%)
- Total: 8,394
- 51842 of 77214 blocks covered (67.14%)
- 34510 of 50964 lines covered (67.71%)
Annotations
azure-pipelines / microsoft.testfx
src/Platform/Microsoft.Testing.Platform/Messages/AsyncConsumerDataProcessor.net.cs#L83
src/Platform/Microsoft.Testing.Platform/Messages/AsyncConsumerDataProcessor.net.cs(83,1): error : [DrainDataAsync_Loop_ShouldFail] Test method Microsoft.Testing.Platform.UnitTests.AsynchronousMessageBusTests.DrainDataAsync_Loop_ShouldFail threw exception:
System.Threading.Channels.ChannelClosedException: The channel has been closed.
azure-pipelines / microsoft.testfx
src/Platform/Microsoft.Testing.Platform/Messages/AsyncConsumerDataProcessor.net.cs#L83
src/Platform/Microsoft.Testing.Platform/Messages/AsyncConsumerDataProcessor.net.cs(83,1): error : [UnexpectedTypePublished_ShouldFail] Test method Microsoft.Testing.Platform.UnitTests.AsynchronousMessageBusTests.UnexpectedTypePublished_ShouldFail threw exception:
System.Threading.Channels.ChannelClosedException: The channel has been closed.
Check failure on line 665 in src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs
azure-pipelines / microsoft.testfx
src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs#L665
src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs(665,1): error : [DiscoveryRequestCanBeCanceled] Assert.AreEqual failed. Expected:<-32800>. Actual:<0>. 'expected' expression: 'ErrorCodes.RequestCanceled', 'actual' expression: 'error.ErrorCode'.
azure-pipelines / microsoft.testfx
src/Platform/Microsoft.Testing.Platform/Messages/AsyncConsumerDataProcessor.net.cs#L83
src/Platform/Microsoft.Testing.Platform/Messages/AsyncConsumerDataProcessor.net.cs(83,1): error : [UnexpectedTypePublished_ShouldFail] Test method Microsoft.Testing.Platform.UnitTests.AsynchronousMessageBusTests.UnexpectedTypePublished_ShouldFail threw exception:
System.Threading.Channels.ChannelClosedException: The channel has been closed.
azure-pipelines / microsoft.testfx
Microsoft.Testing.Platform.UnitTests.AsynchronousMessageBusTests.DrainDataAsync_Loop_ShouldFail
Assert.Contains failed. String 'Channel is already completed.' does not contain string 'Publisher/Consumer loop detected during the drain after'. 'substring' expression: '"Publisher/Consumer loop detected during the drain after"', 'value' expression: 'ex.Message'..
Raw output
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Contains(String substring, String value, StringComparison comparisonType, String message, String substringExpression, String valueExpression)
at Microsoft.Testing.Platform.UnitTests.AsynchronousMessageBusTests.<DrainDataAsync_Loop_ShouldFail>d__5.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__49.MoveNext()
azure-pipelines / microsoft.testfx
Microsoft.Testing.Platform.UnitTests.AsynchronousMessageBusTests.DrainDataAsync_Loop_ShouldFail
Assert.ThrowsExactlyAsync failed. Expected exception type:<System.InvalidOperationException> but no exception was thrown. 'action' expression: 'asynchronousMessageBus.DrainDataAsync'.
Raw output
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.ThrowAssertFailed(String assertionName, String message)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.<>c__DisplayClass244_0`1.<IsThrowsAsyncFailingAsync>b__0(String userMessage)
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.<ThrowsExceptionAsync>d__242`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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Testing.Platform.UnitTests.AsynchronousMessageBusTests.<DrainDataAsync_Loop_ShouldFail>d__5.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__49.MoveNext()