Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert: Increase wait time for NetBSD in check_resource_tracker_death
  • Loading branch information
furkanonder committed Oct 17, 2024
commit d2e3bb6109d5e7273ca84c31c8b57e9ae88e08f1
5 changes: 1 addition & 4 deletions Lib/test/_test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5730,10 +5730,7 @@ def check_resource_tracker_death(self, signum, should_die):
pid = _resource_tracker._pid

os.kill(pid, signum)
if sys.platform.startswith("netbsd") and should_die:
time.sleep(60.0 * 3) # give it more time to die on netbsd
else:
time.sleep(1.0) # give it more time to die
time.sleep(1.0) # give it time to die

ctx = multiprocessing.get_context("spawn")
with warnings.catch_warnings(record=True) as all_warn:
Expand Down