~dave-cheney/juju-core/082-conn-update-secrets-only-if-needed

Viewing all changes in revision 431.

  • Committer: Frank Mueller
  • Author(s): Frank Mueller
  • Date: 2012-08-27 16:17:56 UTC
  • mfrom: (428.2.2 juju-core)
  • Revision ID: themue@gmail.com-20120827161756-iwmrnffnpnxyrjls
mstate: continued completion of machine_test.go

Added missing tests and changed InstanceId() to return
a NotFoundError if it is empty. In case of a corrupt
instance id it is set to "" too, so that the error here
now also is a NotFoundError. Still some tests regarding
the alive flag are missing, the implementation of those
methods needs the presence package (or equiv).

R=niemeyer
CC=
https://codereview.appspot.com/6482073

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: