Added skip decorator to test_metadata_haproxy_during_stop_L3_agent test

This test should not be executed when l3_agent_scheduler extension is
not available

Change-Id: I7bb2a0b2c509a89c2b1cf88fd4164f4baac91082
This commit is contained in:
Eduardo Olivares 2020-06-11 10:01:12 +02:00 committed by Federico Ressi
parent 52491378e6
commit 3abe65653c
1 changed files with 1 additions and 0 deletions

View File

@ -245,6 +245,7 @@ class L3AgentTest(testtools.TestCase, AgentTestMixin):
self.start_service_on_agents(
self.agent_service_name, self.stopped_agents)
@neutron.skip_if_missing_networking_extensions('l3_agent_scheduler')
def test_metadata_haproxy_during_stop_L3_agent(self):
network_l3_agents = neutron.list_l3_agent_hosting_routers(
self.router_id)