Skip to content

Commit

Permalink
[3.13] gh-125620: Skip check_resource_tracker_death on NetBSD due to …
Browse files Browse the repository at this point in the history
…long wait for SIGKILL process termination (GH-125621) (#125672)

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 a0f5c8e)

Co-authored-by: Furkan Onder <[email protected]>
  • Loading branch information
miss-islington and furkanonder authored Oct 18, 2024
1 parent e57831f commit 072e7a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/_test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5747,6 +5747,8 @@ def test_resource_tracker_sigterm(self):
# 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)
Expand Down

0 comments on commit 072e7a3

Please sign in to comment.