Skip to content

Commit

Permalink
gh-125620: Skip check_resource_tracker_death on NetBSD due to long wa…
Browse files Browse the repository at this point in the history
…it for SIGKILL process termination (GH-125621)

* Skip test_resource_tracker_sigkill on NetBSD
  • Loading branch information
furkanonder authored Oct 18, 2024
1 parent 77cebb1 commit a0f5c8e
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 @@ -5761,6 +5761,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 a0f5c8e

Please sign in to comment.