Disable LoadAsync_CancelDuringLoad_CompletesAsCanceled test on mono (#41878)
authorSantiago Fernandez Madero <safern@microsoft.com>
Fri, 4 Sep 2020 23:01:19 +0000 (16:01 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Sep 2020 23:01:19 +0000 (16:01 -0700)
* Disable LoadAsync_CancelDuringLoad_CompletesAsCanceled test on mono

* Update src/libraries/System.Windows.Extensions/tests/System/Media/SoundPlayerTests.cs

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
src/libraries/System.Windows.Extensions/tests/System/Media/SoundPlayerTests.cs

index f3cb08f..6c0e8eb 100644 (file)
@@ -462,6 +462,7 @@ namespace System.Media.Test
         [InlineData(0)]
         [InlineData(1)]
         [InlineData(2)]
+        [ActiveIssue("https://github.com/dotnet/runtime/issues/41676", TestRuntimes.Mono)]
         public async Task LoadAsync_CancelDuringLoad_CompletesAsCanceled(int cancellationCause)
         {
             var tcs = new TaskCompletionSource<AsyncCompletedEventArgs>();