From 404649cea33aa4d258ad8bdc4649e7e461ac822e Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Wed, 27 Oct 2021 06:29:36 -0400 Subject: [PATCH] Fix wasm build --- src/libraries/System.Threading/tests/SemaphoreSlimTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Threading/tests/SemaphoreSlimTests.cs b/src/libraries/System.Threading/tests/SemaphoreSlimTests.cs index aebacdfd2e49c..7aabd01c39f1e 100644 --- a/src/libraries/System.Threading/tests/SemaphoreSlimTests.cs +++ b/src/libraries/System.Threading/tests/SemaphoreSlimTests.cs @@ -618,7 +618,7 @@ public static void TestConcurrentWaitAndWaitAsync(int syncWaiters, int asyncWait Task.WaitAll(tasks); } - [Fact] + [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] public void WaitAsync_Timeout_NoUnhandledException() { RemoteExecutor.Invoke(async () =>