Skip to content

Commit

Permalink
Disable execution of two WorkingSet tests on QEMU (#105689)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rzsc authored Jul 31, 2024
1 parent f1c51c4 commit 33de6f1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 33de6f1

Please sign in to comment.