Skip to content

Commit de89581

Browse files
slawqoIhar Hrachyshka
authored andcommitted
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 (cherry picked from commit d13da77)
1 parent 9a83017 commit de89581

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

neutron/tests/functional/agent/l3/framework.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
from neutron.conf.agent import common as agent_config
4141
from neutron.conf.agent.l3 import config as l3_config
4242
from neutron.conf import common as common_config
43+
from neutron.tests import base as test_base
4344
from neutron.tests.common import l3_test_common
4445
from neutron.tests.common import net_helpers
4546
from neutron.tests.functional import base
@@ -703,8 +704,8 @@ def fail_ha_router(self, router):
703704
ha_device = ip_lib.IPDevice(device_name, router.ha_namespace)
704705
ha_device.link.set_down()
705706

706-
@staticmethod
707-
def wait_until_ha_router_has_state(router, expected_state):
707+
@test_base.unstable_test("bug 1956958")
708+
def wait_until_ha_router_has_state(self, router, expected_state):
708709

709710
def router_has_expected_state():
710711
state = router.ha_state

0 commit comments

Comments
 (0)