]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-125620: Skip check_resource_tracker_death on NetBSD due to long wait for SIGKILL...
authorFurkan Onder <furkanonder@protonmail.com>
Fri, 18 Oct 2024 02:08:34 +0000 (05:08 +0300)
committerGitHub <noreply@github.com>
Fri, 18 Oct 2024 02:08:34 +0000 (19:08 -0700)
* Skip test_resource_tracker_sigkill on NetBSD

Lib/test/_test_multiprocessing.py

index a059a6b83404488cdccef6eca5b27edf7ff5c447..065fc27b770438380db6fffa9b4e89b595975cf2 100644 (file)
@@ -5761,6 +5761,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)