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:
Maksym Strukov 2016-06-30 18:14:59 +03:00
parent f2c17f25bc
commit 5abb335e74
4 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)