From 9401b2fc26ff5ff057ad5f9147d137e601532676 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 20 Aug 2020 01:49:56 +0300 Subject: [PATCH] Disable System.IO.Tests.FileStream_SafeFileHandle.ThrowWhenHandlePositionIsChanged_async test on Browser wasm (#40920) --- .../System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs index 209ddf0c4a587..04773b5a8df72 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs @@ -64,7 +64,7 @@ public async Task ThrowWhenHandlePositionIsChanged_sync() await ThrowWhenHandlePositionIsChanged(useAsync: false); } - [Fact] + [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))] public async Task ThrowWhenHandlePositionIsChanged_async() { await ThrowWhenHandlePositionIsChanged(useAsync: true);