SetStatus validation
Prevent testing.MgoDial from hanging tests.

Add timeout to testing.MgoDial, so if mongod
fails, MgoDial doesn't block forever.
[r=axwalk],[bug=1097556] Prevent testing.MgoDial from hanging tests.

Add timeout to testing.MgoDial, so if mongod
fails, MgoDial doesn't block forever.

https://codereview.appspot.com/12150043/
merge parent
Fixes unit name to tag and vv conversions
address review
Changes after review
[r=dimitern],[bug=1206628] names: Fix lp:1206628 (unit-name-to-tag issues)

This fixes the conversions from a unit name to
a tag and vice versa, which caused incorrect
behavior with services with dashes in the name,
like "rabbitmq-server".

https://codereview.appspot.com/12165043/

R=fwereade, rogpeppe
Merged lp:~dimitern/juju-core/082-bug-1206628-unit-name-from-tag - incomplete before
[r=fwereade] state: validate SetStatus inputs

https://codereview.appspot.com/12105043/
[r=dimitern] Merged in incomplete submit of

lp:~dimitern/juju-core/082-bug-1206628-unit-name-from-tag

I forgot to do lbox propose again one last time
before doing bzr rv-submit, so the last changes
proposed in the https://codereview.appspot.com/12165043/
review were not merged.

So I created this branch and merged the
complete set of changes after the original
branch has landed. No other changes here,
and the lp:1206628 bug is still fixed by
the original submission, this is just to
land what was approved during the review.

https://codereview.appspot.com/12171043/

R=dimitern