Wait for stx-openstack applied before executing the reapply in test_host_management.py

Signed-off-by: Alexandru <alexandru.dimofte@intel.com>
Change-Id: Id9e25dec67a97538d4eebf3886ef2b0a2c3a3ec0
This commit is contained in:
Alexandru 2021-05-17 10:22:59 +03:00
parent 85e345fe08
commit 005b2d5dc2
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,8 @@ def test_reboot_active_controller(no_simplex):
@mark.robotsanity
def test_reapply_openstack():
container_helper.wait_for_apps_status(apps="stx-openstack", status=AppStatus.APPLIED,
timeout=600, check_interval=60)
container_helper.remove_app(app_name="stx-openstack", check_first=True)
alarm_id = EventLogID.CONFIG_OUT_OF_DATE
if system_helper.wait_for_alarm(alarm_id=alarm_id,