-
Committer:
Dave Cheney
-
Date:
2012-08-27 23:38:09 UTC
-
mfrom:
(428.4.2 072-cmd-jujud-pa-test)
-
Revision ID:
david.cheney@canonical.com-20120827233809-d7d0vg1ubyyvm5x3
cmd/jujud: provisioning: improve test logic
Change TestRunStop to properly report the cause of the
test failure, which turns out to be a race between the PA
spining up a machine and the FA trying to open a port on it.
Also, don't leak a PA/FA combo on test failure.
Also, add support in Run to shutdown immediately if Stop
is called while waiting to retry.
R=niemeyer
CC=
https://codereview.appspot.com/6480069