juju / amulet

Testing harness and tools for Juju Charms
Other
17 stars 33 forks source link

wait_for_messages should use status-history #150

Open johnsca opened 8 years ago

johnsca commented 8 years ago

So that tests can watch for transient messages to reliably detect changes even if the status goes back to "ready". It should ensure that it ignores all messages from the status-history previous to when it was called.

pengale commented 8 years ago

+1 to this. It would save some hedging on timeouts in our tests.