You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes issue #105422
On MacOS, FreeBSD, SunOS (the ports that share ProcessBSD.c)
the get/set WorkingSet methods only work on the current process.
Skip the parts of tests that operate on other processes.
Remove now redundant MacOS-speicifc tests.
Copy file name to clipboardExpand all lines: src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs
+3-19Lines changed: 3 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -603,20 +603,12 @@ public void TestMaxWorkingSet()
603
603
}
604
604
605
605
[Fact]
606
-
[SkipOnPlatform(TestPlatforms.OSX|TestPlatforms.FreeBSD|TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MaxWorkingSet is not supported on OSX, BSD, iOS, MacCatalyst, and tvOS.")]
606
+
[SkipOnPlatform(TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MaxWorkingSet is not supported on iOS, MacCatalyst, and tvOS.")]
@@ -659,21 +651,13 @@ public void TestMinWorkingSet()
659
651
}
660
652
661
653
[Fact]
662
-
[SkipOnPlatform(TestPlatforms.OSX|TestPlatforms.FreeBSD|TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MinWorkingSet is not supported on OSX, BSD, iOS, MacCatalyst, and tvOS.")]
654
+
[SkipOnPlatform(TestPlatforms.iOS|TestPlatforms.MacCatalyst|TestPlatforms.tvOS,"Getting MinWorkingSet is not supported on iOS, MacCatalyst, and tvOS.")]
0 commit comments