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

Skip to content

Commit d2e3bb6

Browse files
committed
Revert: Increase wait time for NetBSD in check_resource_tracker_death
1 parent 21a0932 commit d2e3bb6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Lib/test/_test_multiprocessing.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5730,10 +5730,7 @@ def check_resource_tracker_death(self, signum, should_die):
57305730
pid = _resource_tracker._pid
57315731

57325732
os.kill(pid, signum)
5733-
if sys.platform.startswith("netbsd") and should_die:
5734-
time.sleep(60.0 * 3) # give it more time to die on netbsd
5735-
else:
5736-
time.sleep(1.0) # give it more time to die
5733+
time.sleep(1.0) # give it time to die
57375734

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

0 commit comments

Comments
 (0)