https://github.com/jenkinsci/jenkins-test-harness/pull/795#issuecomment-2219071287 I neglected to consider direct call to InboundAgentRule.stop from test code, which should not kill subprocesses, only the agent JVM itself. Tested in workflow-durable-task-step on all test cases in AgentErrorConditionTest & ExecutorStepTest; also verified that the proprietary test suite originally motivating #795 continues to pass with this, and that subprocesses are still terminated at the end of the test.
https://github.com/jenkinsci/jenkins-test-harness/pull/795#issuecomment-2219071287 I neglected to consider direct call to
InboundAgentRule.stop
from test code, which should not kill subprocesses, only the agent JVM itself. Tested inworkflow-durable-task-step
on all test cases inAgentErrorConditionTest
&ExecutorStepTest
; also verified that the proprietary test suite originally motivating #795 continues to pass with this, and that subprocesses are still terminated at the end of the test.