Testing Leader Election reconfiguration

Cory Johns cory.johns at canonical.com
Tue Mar 15 23:52:35 UTC 2016


On Tue, Mar 15, 2016 at 4:36 PM, Tom Barber <tom at analytical-labs.com> wrote:

> If I want to wait for a message is it something from the right side of
> status_set for example:
> https://github.com/OSBI/layer-pdi/blob/master/reactive/pdi.py#L83 'Configuration
> has changed, restarting Carte.'?
>

That's correct.  And note that if you just give a plain string to
wait_for_messages for a given service, it will be an exact, full string
match.  But you can also give regular expressions, as shown in the example.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20160315/908530a6/attachment.html>


More information about the Juju mailing list