Ensure named always terminates in the shutdown test
Simple way to test the code works as expected is to put raise RuntimeError
after assert named_proc.poll() is None
. This would previously hang the test.
v9.16 should get a partial backport to fix the potential for a hangup, since stuck tests are very annoying in CI.