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)
This commit is contained in:
Rodolfo Alonso Hernandez 2019-10-18 17:04:02 +00:00 committed by Slawek Kaplonski
parent 9ab3d21789
commit 89f5193f4a
1 changed files with 1 additions and 1 deletions

View File

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