diff --git a/src/libraries/System.Console/tests/SetOut.cs b/src/libraries/System.Console/tests/SetOut.cs index 83d0f95f6e69e..c1a893c9e7691 100644 --- a/src/libraries/System.Console/tests/SetOut.cs +++ b/src/libraries/System.Console/tests/SetOut.cs @@ -5,6 +5,7 @@ using System.IO; using Xunit; +[Collection(nameof(DisableParallelization))] // Console.Out is a static singleton, other tests should not be using it at the same time public class SetOut { [Fact] @@ -28,7 +29,6 @@ public static void SetOutReadLine() } [Fact] - [ActiveIssue("https://github.com/dotnet/runtime/issues/57935", TestPlatforms.AnyUnix)] public static void SetOutReadToEnd() { Helpers.SetAndReadHelper(tw => Console.SetOut(tw), () => Console.Out, sr => sr.ReadToEnd()); diff --git a/src/libraries/System.Console/tests/System.Console.Tests.csproj b/src/libraries/System.Console/tests/System.Console.Tests.csproj index f92a0cdfc4913..3c83ac5db2f9e 100644 --- a/src/libraries/System.Console/tests/System.Console.Tests.csproj +++ b/src/libraries/System.Console/tests/System.Console.Tests.csproj @@ -28,6 +28,8 @@ Link="Common\System\IO\InterceptStreamWriter.cs" /> +