Merge "Ensure that VM needed by the OvnController faults tests really works"

This commit is contained in:
Zuul 2021-03-17 16:32:27 +00:00 committed by Gerrit Code Review
commit f1e59f23ab
1 changed files with 3 additions and 0 deletions

View File

@ -562,6 +562,9 @@ class OvnControllerTest(BaseAgentTest):
def setUp(self): def setUp(self):
super(OvnControllerTest, self).setUp() super(OvnControllerTest, self).setUp()
self.get_ovn_agents_from_containers() self.get_ovn_agents_from_containers()
# Ensure that stack is really created to avoid VM error due to dead
# agents
ping.ping_until_received(self.stack.ip_address).assert_replied()
def kill_ovn_controller(self, def kill_ovn_controller(self,
hosts: typing.Optional[typing.List[str]] = None, hosts: typing.Optional[typing.List[str]] = None,