From: David Garcia Date: Wed, 10 Mar 2021 10:50:38 +0000 (+0100) Subject: Fix bug 1448: minor fix in JujuModelWatcher.wait_for_model X-Git-Tag: branch-bug1511-start~3 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=commitdiff_plain;h=5d7d622b026f6f4c6994fc5fbb1789d7827bf641;hp=5d7d622b026f6f4c6994fc5fbb1789d7827bf641 Fix bug 1448: minor fix in JujuModelWatcher.wait_for_model Add an `application_ready` function in the Juju Watcher to check if all the applications of the model are ready. This function checks that not only the application is ready, but also all the units of the application. Additionally, I have added a stability check. After considering a model as ready, we will wait for 10 seconds, and check again. Change-Id: Icd8d88613416b75cfd241e7044dbeffa6cbc6a8e Signed-off-by: David Garcia (cherry picked from commit c344117335d4ffbd06ef90ae8dce9cb3910165fb) ---