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:
parent
9ab3d21789
commit
89f5193f4a
@ -135,7 +135,7 @@ class TestDhcpAgentHA(BaseDhcpAgentTest):
|
|||||||
return network_agents[0]['id'] != old_agent['id']
|
return network_agents[0]['id'] != old_agent['id']
|
||||||
return False
|
return False
|
||||||
|
|
||||||
common_utils.wait_until_true(_agent_rescheduled)
|
common_utils.wait_until_true(_agent_rescheduled, timeout=120)
|
||||||
|
|
||||||
def _kill_dhcp_agent(self, agent):
|
def _kill_dhcp_agent(self, agent):
|
||||||
for host in self.environment.hosts:
|
for host in self.environment.hosts:
|
||||||
|
Loading…
Reference in New Issue
Block a user