Increase waiting time for network rescheduling

Increate waiting time in "test_reschedule_network_on_new_agent", when
the network is being rescheduled from a dead DHCP agent to an running
one.

According to [1], 120 seconds could be a convervative and enough value
to wait for this transition.

[1] https://bugs.launchpad.net/neutron/+bug/1799555/comments/23

Change-Id: I2fec6015b56fd1b5d21b75f7432c40b2110fe6bc
Related-Bug: #1799555
(cherry picked from commit d15ad2e481)
changes/12/718212/1
Rodolfo Alonso Hernandez 3 years ago committed by Slawek Kaplonski
parent 9ab3d21789
commit 89f5193f4a
  1. 2
      neutron/tests/fullstack/test_dhcp_agent.py

@ -135,7 +135,7 @@ class TestDhcpAgentHA(BaseDhcpAgentTest):
return network_agents[0]['id'] != old_agent['id']
return False
common_utils.wait_until_true(_agent_rescheduled)
common_utils.wait_until_true(_agent_rescheduled, timeout=120)
def _kill_dhcp_agent(self, agent):
for host in self.environment.hosts:

Loading…
Cancel
Save