Fix the case when a test trying to reboot active controller fails because stx-openstack is not applied
Description: The test_reboot_active_controller fails because the stx-openstack is not applied: ...RegionOne host-swact controller-1' failed to execute. Output: Swact action not allowed. stx-openstack apply is in progress. During reboot of the active controller a swact should be performed which fails. Story: N/A Task: N/A Signed-off-by: Alexandru <alexandru.dimofte@intel.com> Change-Id: I363a8328159d5ce086e05037997f7f3bdd197207
This commit is contained in:
parent
3e6c980193
commit
f045686fa1
|
@ -195,6 +195,8 @@ def test_reboot_active_controller(no_simplex):
|
||||||
availability=['available'])
|
availability=['available'])
|
||||||
kube_helper.wait_for_pods_healthy(check_interval=30,
|
kube_helper.wait_for_pods_healthy(check_interval=30,
|
||||||
all_namespaces=True)
|
all_namespaces=True)
|
||||||
|
container_helper.wait_for_apps_status(apps="stx-openstack", status=AppStatus.APPLIED,
|
||||||
|
timeout=600, check_interval=60)
|
||||||
host_helper.swact_host(hostname=standby)
|
host_helper.swact_host(hostname=standby)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue