Fix Stop during Initial Ramp for Nonlinear Workload
Simple fix for an issue where stopping a nonlinear job during the initial ramp (the duration of time until the ramp rate reaches the target ramp rate) will continue running the job due to the no checks for agent stop command - this results in the initial ramp ignoring the stop command and continuing to ramp up until target ramp rate is reached (enters main loop). It also resulted in unexpected behavior when stopping a paused job during the initial ramp - this exits the pause state and continues ramping up before entering the main loop and stopping.
Adding the check for the agent stop command in the initial ramp method now stops the ramp as expected, whether the job is running or paused.
Please make sure these check boxes are checked before submitting
[ ] Squashed Commits
[ ] All Tests Passed - mvn clean test -P default
PR review process
Requires one +1 from a reviewer
Repository owners will merge your PR once it is approved.
Fix Stop during Initial Ramp for Nonlinear Workload Simple fix for an issue where stopping a nonlinear job during the initial ramp (the duration of time until the ramp rate reaches the target ramp rate) will continue running the job due to the no checks for agent stop command - this results in the initial ramp ignoring the stop command and continuing to ramp up until target ramp rate is reached (enters main loop). It also resulted in unexpected behavior when stopping a paused job during the initial ramp - this exits the pause state and continues ramping up before entering the main loop and stopping.
Adding the check for the agent stop command in the initial ramp method now stops the ramp as expected, whether the job is running or paused.
Please make sure these check boxes are checked before submitting
mvn clean test -P default
PR review process