From 33de6f1a3b011a12be7be56156ad34c1e57a4831 Mon Sep 17 00:00:00 2001 From: rzsc <160726116+rzsc@users.noreply.github.com> Date: Wed, 31 Jul 2024 09:29:59 +0200 Subject: [PATCH] Disable execution of two WorkingSet tests on QEMU (#105689) System.Diagnostics.Tests.ProcessTests.TestMaxWorkingSet() System.Diagnostics.Tests.ProcessTests.TestMinWorkingSet() These two corefx tests fail because on QEMU the file /proc/pid/stat contains incorrect values. See issue #105686 for details. --- src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs b/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs index 19b1df66a1545..6907a43b63040 100644 --- a/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs +++ b/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs @@ -564,6 +564,7 @@ public void TestMainModule() } [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/105686", typeof(PlatformDetection), nameof(PlatformDetection.IsQemuLinux))] public void TestMaxWorkingSet() { CreateDefaultProcess(); @@ -619,6 +620,7 @@ public void MaxValueWorkingSet_GetSetMacos_ThrowsPlatformSupportedException() } [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/105686", typeof(PlatformDetection), nameof(PlatformDetection.IsQemuLinux))] public void TestMinWorkingSet() { CreateDefaultProcess();