Cleanup MTP async data consumer #7423
Build Windows Release failed
Annotations
azure-pipelines / microsoft.testfx (Build Windows Release)
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 (Build Windows Release)
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.
Check failure on line 665 in src/TestFramework/TestFramework/Assertions/Assert.AreEqual.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
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'.
Check failure on line 553 in src/TestFramework/TestFramework/Assertions/Assert.ThrowsException.cs
azure-pipelines / microsoft.testfx (Build Windows Release)
src/TestFramework/TestFramework/Assertions/Assert.ThrowsException.cs#L553
src/TestFramework/TestFramework/Assertions/Assert.ThrowsException.cs(553,1): error : [DrainDataAsync_Loop_ShouldFail] Assert.ThrowsExactlyAsync failed. Expected exception type:<System.InvalidOperationException> but no exception was thrown. 'action' expression: 'asynchronousMessageBus.DrainDataAsync'.
azure-pipelines / microsoft.testfx (Build Windows Release)
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.