[OVN] Do not check L3 agents state with ML2/OVN

With [1], the ML2/OVN L3 plugin will have the "ha" API extension
enabled. The OVN L3 plugin does not have L3 agents; this check
should be skipped.

[1]https://review.opendev.org/c/openstack/neutron/+/910889

Related-Bug: #2020823
Change-Id: I09c12ba36b007d4f6fdd3723974ecfe9e4466b72
This commit is contained in:
Rodolfo Alonso Hernandez 2024-03-04 20:30:40 +00:00
parent 9c55bfc364
commit 9286588fc0

View File

@ -236,7 +236,7 @@ class BaseTempestTestCase(base_api.BaseNetworkTest):
@classmethod
def _wait_for_router_ha_active(cls, router_id):
router = cls.os_admin.network_client.show_router(router_id)['router']
if not router.get('ha'):
if not router.get('ha') or cls.is_driver_ovn:
return
def _router_active_on_l3_agent():