Mark functional L3ha tests as unstable
All functional tests which uses wait_until_ha_router_has_state() method are now marked as unstable so in case of timeout while waiting for router's state transition, job will not fail. Related-Bug: #1956958 Change-Id: I0e5d08c1a9dc475c7b138c4934ef0331a4339a4c
This commit is contained in:
parent
f966ed8c15
commit
d13da77107
@ -40,6 +40,7 @@ from neutron.common import utils as common_utils
|
||||
from neutron.conf.agent import common as agent_config
|
||||
from neutron.conf.agent.l3 import config as l3_config
|
||||
from neutron.conf import common as common_config
|
||||
from neutron.tests import base as test_base
|
||||
from neutron.tests.common import l3_test_common
|
||||
from neutron.tests.common import net_helpers
|
||||
from neutron.tests.functional import base
|
||||
@ -716,8 +717,8 @@ class L3AgentTestFramework(base.BaseSudoTestCase):
|
||||
ha_device = ip_lib.IPDevice(device_name, router.ha_namespace)
|
||||
ha_device.link.set_down()
|
||||
|
||||
@staticmethod
|
||||
def wait_until_ha_router_has_state(router, expected_state):
|
||||
@test_base.unstable_test("bug 1956958")
|
||||
def wait_until_ha_router_has_state(self, router, expected_state):
|
||||
|
||||
def router_has_expected_state():
|
||||
state = router.ha_state
|
||||
|
Loading…
Reference in New Issue
Block a user