Disable System.IO.Tests.FileStream_SafeFileHandle.ThrowWhenHandlePositionIsChanged_as...
authorMaxim Lipnin <v-maxlip@microsoft.com>
Wed, 19 Aug 2020 22:49:56 +0000 (01:49 +0300)
committerGitHub <noreply@github.com>
Wed, 19 Aug 2020 22:49:56 +0000 (15:49 -0700)
src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs

index 209ddf0..04773b5 100644 (file)
@@ -64,7 +64,7 @@ namespace System.IO.Tests
             await ThrowWhenHandlePositionIsChanged(useAsync: false);
         }
 
-        [Fact]
+        [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsThreadingSupported))]
         public async Task ThrowWhenHandlePositionIsChanged_async()
         {
             await ThrowWhenHandlePositionIsChanged(useAsync: true);