]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] 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:32:53 +0000 (04:32 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Oct 2024 02:32:53 +0000 (02:32 +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 5dae370936bb8d3c4dcc9ad421863f2fc1045cbf..b0d53ed7d7b99323e58ec65bad8a4a43c6e6b922 100644 (file)
@@ -5747,6 +5747,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)