Descriptioncmd/jujud: agent should perform one cycle
Fixes #1068445.
This proposal alters the logic on the unit and machine agents to
perform at least one cycle before checking the tomb value.
This change is important as our tests start an agent with a runStop()
method, who's intention is to run the agent for a short period of time
to exercise one aspect of its behavior.
The difficulty is runStop() can put the tomb into a Dying state before
the agent has started, causing it to exit immediately without taking
any action.
https://code.launchpad.net/~dave-cheney/juju-core/026-uniter-failure/+merge/131369
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : cmd/jujud: agent should perform one cycle #
MessagesTotal messages: 6
|