summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_multiprocessing.py
diff options
context:
space:
mode:
authorFurkan Onder <furkanonder@protonmail.com>2024-10-18 02:08:34 (GMT)
committerGitHub <noreply@github.com>2024-10-18 02:08:34 (GMT)
commita0f5c8e6272a1fd5422892d773923b138e77ae5f (patch)
tree198e6935891dd86357aef4edb3529135b27804f3 /Lib/test/_test_multiprocessing.py
parent77cebb1ce9baac9e01a45d34113c3bea74940d90 (diff)
downloadcpython-a0f5c8e6272a1fd5422892d773923b138e77ae5f.zip
cpython-a0f5c8e6272a1fd5422892d773923b138e77ae5f.tar.gz
cpython-a0f5c8e6272a1fd5422892d773923b138e77ae5f.tar.bz2
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
Diffstat (limited to 'Lib/test/_test_multiprocessing.py')
-rw-r--r--Lib/test/_test_multiprocessing.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index a059a6b..065fc27 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -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)