bvolpato opened a new pull request, #39521:
URL: https://github.com/apache/beam/pull/39521

   Fixes #39456.
   
   ## Summary
   
   Python 3.14 uses forkserver as default multiprocessing start method on 
POSIX. Existing deadlock test starts its 10-second timeout immediately after 
process creation, so child startup and imports can be reported as a 
reset_state() deadlock under CI load.
   
   This change makes child signal immediately before calling reset_state(). 
Parent waits separately for process startup, then applies existing 10-second 
timeout only to teardown. Production code is unchanged.
   
   ## Validation
   
   - Python 3.14 cloud tox target: 2 passed
   - Python 3.13 tox target: 2 passed
   - Python 3.14 cloud stress: 100/100 passes for each asyncio and thread-pool 
variant
   - Negative control: injected 11-second stall after readiness signal; test 
failed at original 10-second deadlock assertion
   - YAPF 0.43.0 and Ruff 0.15.7 passed on changed file


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to