Fix placement of VRRP failover check
The VRRP failover check cannot happen right after the active amphora is
*issued* to be deleted (HTTP 204 Accept) as VRRP failover may still not
have kicked in.
Change-Id: I409f6d72a101196a6ad3d2c0520ba9892aee2b88
diff --git a/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py b/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py
index 97886b5..c972799 100644
--- a/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py
+++ b/octavia_tempest_plugin/tests/act_stdby_scenario/v2/test_active_standby_iptables.py
@@ -273,9 +273,6 @@
# Delete active amphora
self.os_admin_servers_client.delete_server(active[const.COMPUTE_ID])
- # Send some traffic
- self.check_members_balanced(self.lb_vip_address)
-
# Wait for the amphora failover to start
waiters.wait_for_status(
self.mem_lb_client.show_loadbalancer,
@@ -283,6 +280,9 @@
const.PENDING_UPDATE, CONF.load_balancer.check_interval,
CONF.load_balancer.check_timeout)
+ # Send some traffic (checks VRRP failover)
+ self.check_members_balanced(self.lb_vip_address)
+
# Wait for the load balancer to return to ACTIVE
waiters.wait_for_status(
self.mem_lb_client.show_loadbalancer,