From 076d5fa35096faa34a85d981b7407756fe86f044 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20K=C3=B6plinger?= Date: Wed, 17 Jun 2020 12:32:34 +0200 Subject: [PATCH] Disable two more tests that use RemoteExecutor on platforms where it's not supported (#37992) Those sneaked in with https://github.com/dotnet/runtime/pull/37528 which was merged at the same time as my PR https://github.com/dotnet/runtime/pull/37479. --- .../tests/EncodingCodePages.netcoreapp.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Text.Encoding.CodePages/tests/EncodingCodePages.netcoreapp.cs b/src/libraries/System.Text.Encoding.CodePages/tests/EncodingCodePages.netcoreapp.cs index 34b899b..62ca380 100644 --- a/src/libraries/System.Text.Encoding.CodePages/tests/EncodingCodePages.netcoreapp.cs +++ b/src/libraries/System.Text.Encoding.CodePages/tests/EncodingCodePages.netcoreapp.cs @@ -35,7 +35,7 @@ namespace System.Text.Tests new EncodingInformation(65001, "utf-8") }; - [Fact] + [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] public void TestGetEncodings() { RemoteExecutor.Invoke(() => { @@ -48,7 +48,7 @@ namespace System.Text.Tests }).Dispose(); } - [Fact] + [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] public void TestGetEncodingsWithProvider() { RemoteExecutor.Invoke(() => { -- 2.7.4