diff --git a/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py b/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py index a551a02e7dd..5d422467cae 100644 --- a/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py +++ b/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py @@ -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):