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
This commit is contained in:
Eduardo Olivares 2022-08-16 17:56:16 +02:00
parent 72c7716de4
commit 8e18794034
1 changed files with 1 additions and 0 deletions

View File

@ -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()