Browse Source

Merge "Test crash controller main VIP."

changes/92/775192/9
Zuul 6 months ago
committed by Gerrit Code Review
parent
commit
888497f02c
  1. 4
      tobiko/tests/faults/ha/cloud_disruptions.py
  2. 5
      tobiko/tests/faults/ha/test_cloud_recovery.py

4
tobiko/tests/faults/ha/cloud_disruptions.py

@ -253,6 +253,10 @@ def reset_controllers_non_main_vip():
inverse=True)
def crash_controller_main_vip():
disrupt_controller_main_vip(disrupt_method=sh.crash_method)
def network_disrupt_controller_main_vip():
disrupt_controller_main_vip(disrupt_method=network_disruption)
LOG.info('waiting 60s to avoid race conditions...')

5
tobiko/tests/faults/ha/test_cloud_recovery.py

@ -99,6 +99,11 @@ class DisruptTripleoNodesTest(testtools.TestCase):
cloud_disruptions.reset_controllers_non_main_vip()
overcloud_health_checks()
def test_crash_controller_main_vip(self):
overcloud_health_checks()
cloud_disruptions.crash_controller_main_vip()
overcloud_health_checks()
@pacemaker.skip_if_fencing_not_deployed
def test_network_disruptor_main_vip(self):
overcloud_health_checks()

Loading…
Cancel
Save