]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 18 Oct 2024 02:25:00 +0000 (04:25 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Oct 2024 02:25:00 +0000 (02:25 +0000)
gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for SIGKILL process termination (GH-125621)

* Skip test_resource_tracker_sigkill on NetBSD
(cherry picked from commit a0f5c8e6272a1fd5422892d773923b138e77ae5f)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Lib/test/_test_multiprocessing.py

index aac74ea311f19b688fcba1363b0683b9a3706aee..607bfc02b12303a3d95192fc19224d13c6a43e5e 100644 (file)
@@ -5655,6 +5655,8 @@ class TestResourceTracker(unittest.TestCase):
         # Catchable signal (ignored by semaphore tracker)
         self.check_resource_tracker_death(signal.SIGTERM, False)
 
+    @unittest.skipIf(sys.platform.startswith("netbsd"),
+                     "gh-125620: Skip on NetBSD due to long wait for SIGKILL process termination.")
     def test_resource_tracker_sigkill(self):
         # Uncatchable signal.
         self.check_resource_tracker_death(signal.SIGKILL, True)