~dave-cheney/juju-core/089-state-unit-assigned-machine

Viewing all changes in revision 454.

  • Committer: Roger Peppe
  • Date: 2012-08-31 05:47:53 UTC
  • mfrom: (451.1.5 043-jujud-fix-test)
  • Revision ID: roger.peppe@canonical.com-20120831054753-95qzl6eam4q8av3e
cmd/jujud: fix race in test

We should not call OpenPort until the new instance id has
hit the state.

We also fix a bug in firewaller where it called InstanceId even
when it needed to do nothing, and take the opportunity
to make the firewaller tests a little more concise now that we
have JujuConnSuite.

R=TheMue, dfc
CC=
https://codereview.appspot.com/6499056

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: