Properly disable test on mono (#38615)
authorVlad Brezae <brezaevlad@gmail.com>
Tue, 30 Jun 2020 17:52:17 +0000 (20:52 +0300)
committerGitHub <noreply@github.com>
Tue, 30 Jun 2020 17:52:17 +0000 (20:52 +0300)
Fix issue link for wasm specific limitation.

src/libraries/System.ComponentModel.EventBasedAsync/tests/BackgroundWorkerTests.cs

index 13cf3b3..f5c87d9 100644 (file)
@@ -327,9 +327,8 @@ namespace System.ComponentModel.EventBasedAsync.Tests
             bw.Dispose();
         }
 
-        [Fact]
-        [ActiveIssue("https://github.com/dotnet/runtime/issues/37136", typeof(PlatformDetection), nameof(PlatformDetection.IsNotMonoInterpreter))]
-        [ActiveIssue("https://github.com/dotnet/runtime/issues/37136", TestPlatforms.Browser)]
+        [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsPreciseGcSupported))]
+        [ActiveIssue("https://github.com/dotnet/runtime/issues/38283", TestPlatforms.Browser)]
         public void TestFinalization()
         {
             // BackgroundWorker has a finalizer that exists purely for backwards compatibility