Merge "Increase timeout when waiting for dnsmasq enablement"

This commit is contained in:
Zuul 2019-11-05 14:49:57 +00:00 committed by Gerrit Code Review
commit 0fa7e74ebb
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class DhcpLocalProcess(DhcpBase):
def enable(self):
"""Enables DHCP for this network by spawning a local process."""
try:
common_utils.wait_until_true(self._enable)
common_utils.wait_until_true(self._enable, timeout=300)
except common_utils.WaitTimeout:
LOG.error("Failed to start DHCP process for network %s",
self.network.id)