Tests needing to detect when environment is fully ready

Stuart Bishop stuart.bishop at canonical.com
Wed May 29 13:32:40 UTC 2013


On Wed, May 29, 2013 at 2:51 PM, Stuart Bishop
<stuart.bishop at canonical.com> wrote:

> Thanks. This looks like it will unblock me for now.

I spoke too soon. It seems to be failing to let me wait on a unit's
settings in a peer relation:

$ jitsu watch postgresql/6 --state=started -r replication
whatever=this_should_fail
2013-05-29 20:22:48,304 juju.common:INFO Connecting to environment...
2013-05-29 20:22:56,417 juju.common:INFO Connected to environment.
2013-05-29 20:22:56,418 watch:INFO Waiting for unit postgresql/6...
2013-05-29 20:22:58,241 watch:INFO Waiting for unit postgresql/6 to be
in [started] and not in []
2013-05-29 20:23:01,020 watch:INFO Completed waiting for unit
postgresql/6 state: started
2013-05-29 20:23:01,020 watch:INFO Waiting for peer relation replication...
$

It also gets just as far if I specify an invalid peer relationship
name... something seems broken here.

-- 
Stuart Bishop <stuart.bishop at canonical.com>



More information about the Juju mailing list