dirty patch to wait for services to finish reloading

This commit is contained in:
Kay0u 2021-03-10 11:24:11 +01:00 committed by Alexandre Aubin
parent b7703c32a1
commit 8aae994720

View file

@ -3432,6 +3432,7 @@ def _assert_system_is_sane_for_app(manifest, when):
# Wait if a service is reloading # Wait if a service is reloading
test_nb = 0 test_nb = 0
while test_nb < 16: while test_nb < 16:
if not any(s for s in services if service_status(s)["status"] == "reloading"): if not any(s for s in services if service_status(s)["status"] == "reloading"):
break break