Add comment for OSTF should_fail
It's expected behaviour that OSTF test_001_check_state_of_backends fails when primary controller shutted down. This review add comment for that. Change-Id: Ifeb3ed8a1dbc57b5ed562859288bd62660a77c4c Closes-Bug: #1595945
This commit is contained in:
parent
f2c17f25bc
commit
5abb335e74
|
@ -207,6 +207,7 @@ class SeparateDbFailover(TestBasic):
|
|||
wait(lambda: not self.fuel_web.get_nailgun_node_by_devops_node(
|
||||
controller)['online'], timeout=60 * 5)
|
||||
|
||||
# One test should fail: Check state of haproxy backends on controllers
|
||||
self.fuel_web.assert_ha_services_ready(cluster_id, should_fail=1)
|
||||
self.fuel_web.assert_os_services_ready(cluster_id, timeout=15 * 60)
|
||||
self.fuel_web.run_ostf(cluster_id=cluster_id)
|
||||
|
|
|
@ -221,6 +221,7 @@ class SeparateKeystoneFailover(TestBasic):
|
|||
wait(lambda: not self.fuel_web.get_nailgun_node_by_devops_node(
|
||||
controller)['online'], timeout=60 * 5)
|
||||
|
||||
# One test should fail: Check state of haproxy backends on controllers
|
||||
self.fuel_web.assert_ha_services_ready(cluster_id, should_fail=1)
|
||||
self.fuel_web.assert_os_services_ready(cluster_id, timeout=15 * 60)
|
||||
|
||||
|
|
|
@ -213,6 +213,7 @@ class SeparateAllFailover(TestBasic):
|
|||
wait(lambda: not self.fuel_web.get_nailgun_node_by_devops_node(
|
||||
controller)['online'], timeout=60 * 5)
|
||||
|
||||
# One test should fail: Check state of haproxy backends on controllers
|
||||
self.fuel_web.assert_ha_services_ready(cluster_id, should_fail=1)
|
||||
self.fuel_web.assert_os_services_ready(cluster_id, timeout=15 * 60)
|
||||
|
||||
|
|
|
@ -208,6 +208,7 @@ class SeparateRabbitFailover(TestBasic):
|
|||
wait(lambda: not self.fuel_web.get_nailgun_node_by_devops_node(
|
||||
controller)['online'], timeout=60 * 5)
|
||||
|
||||
# One test should fail: Check state of haproxy backends on controllers
|
||||
self.fuel_web.assert_ha_services_ready(cluster_id, should_fail=1)
|
||||
self.fuel_web.assert_os_services_ready(cluster_id, timeout=15 * 60)
|
||||
|
||||
|
|
Loading…
Reference in New Issue