Merge "[Fullstack] Ensure connectivity to ext gw before agents restart"

This commit is contained in:
Zuul 2018-06-22 21:45:52 +00:00 committed by Gerrit Code Review
commit 34dcba4c38
1 changed files with 4 additions and 0 deletions

View File

@ -349,6 +349,10 @@ class TestHAL3Agent(TestL3Agent):
router_ip = router['external_gateway_info'][
'external_fixed_ips'][0]['ip_address']
# Let's check first if connectivity from external_vm to router's
# external gateway IP is possible before we restart agents
external_vm.block_until_ping(router_ip)
l3_agents = [host.agents['l3'] for host in self.environment.hosts]
self._assert_ping_during_agents_restart(