From 9fa181b3d40a32a46460cf8e46698eedf63653c5 Mon Sep 17 00:00:00 2001 From: Federico Ressi Date: Tue, 25 Jan 2022 13:29:29 +0100 Subject: [PATCH] Mark test_router_is_scheduled_on_l3_agents test case as flaky Change-Id: I97d9f2c0c532c209b88c4e172f38984974bbe054 --- tobiko/tests/scenario/neutron/test_router.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tobiko/tests/scenario/neutron/test_router.py b/tobiko/tests/scenario/neutron/test_router.py index df7919519..e8445e9fd 100644 --- a/tobiko/tests/scenario/neutron/test_router.py +++ b/tobiko/tests/scenario/neutron/test_router.py @@ -14,6 +14,7 @@ # under the License. from __future__ import absolute_import +import pytest from oslo_log import log import testtools @@ -90,6 +91,7 @@ class RouterTest(testtools.TestCase): self.assertIn(self.ipv6_subnet_gateway_ip, self.stack.network_stack.ipv6_gateway_addresses) + @pytest.mark.flaky(reruns=3, reruns_delay=60) @neutron.skip_if_missing_networking_extensions('l3_agent_scheduler') def test_router_is_scheduled_on_l3_agents(self): router_agent = neutron.find_l3_agent_hosting_router(self.router['id'],