Merge "[OVN][FT] Ensure the non OVN agent is correctly created"
This commit is contained in:
commit
d10e469cea
@ -1190,6 +1190,11 @@ class TestAgentApi(base.TestOVNFunctionalBase):
|
||||
agent = {'agent_type': self.TEST_AGENT, 'binary': '/bin/test',
|
||||
'host': self.host, 'topic': 'test_topic'}
|
||||
_, status = self.plugin.create_or_update_agent(self.context, agent)
|
||||
# Ensure the non OVN agent has been correctly created.
|
||||
self.assertEqual(
|
||||
status['id'],
|
||||
self.plugin.get_agent(self.context, status['id'])['id']
|
||||
)
|
||||
return status['id']
|
||||
|
||||
def _check_chassis_registers(self, present=True):
|
||||
|
Loading…
Reference in New Issue
Block a user