old_attributes: {state: 'Running'},
new_attributes: {state: 'Complete', exit_code: 1},
},
old_attributes: {state: 'Running'},
new_attributes: {state: 'Complete', exit_code: 1},
},
# It's unrealistic for state to change again once it's Complete,
# but the logging code doesn't care, so we do it to keep the test
# simple.
# It's unrealistic for state to change again once it's Complete,
# but the logging code doesn't care, so we do it to keep the test
# simple.