From 8e187940345e9f29d36d9ad89166cdb4d8c3efa3 Mon Sep 17 00:00:00 2001 From: Eduardo Olivares Date: Tue, 16 Aug 2022 17:56:16 +0200 Subject: [PATCH] skip test_1_dvr_router_without_server during verify-resources test_1_dvr_router_without_server passes during create-resources but it fails during verify-resources. The reason is that it cleans up some resources and tries to create them again, but the fact verify-resources is called with TOBIKO_PREVENT_CREATE=True prevents their creation Change-Id: Ided072d74eb2b089d1e23d2823e540ca28b6c234 --- tobiko/tests/scenario/neutron/test_router.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tobiko/tests/scenario/neutron/test_router.py b/tobiko/tests/scenario/neutron/test_router.py index 202c1c968..2a7847b1d 100644 --- a/tobiko/tests/scenario/neutron/test_router.py +++ b/tobiko/tests/scenario/neutron/test_router.py @@ -267,6 +267,7 @@ class DvrRouterNamespaceTest(RouterNamespaceTestBase, testtools.TestCase): def dvr_snat_hostnames(self) -> typing.List[str]: return self.agent_modes['dvr_snat'] + @config.skip_if_prevent_create() def test_1_dvr_router_without_server(self): if self.dvr_hostnames: self.cleanup_stacks()