From 108d1cc41ddb0e804f3c1d63a386d02f79b8fdbf Mon Sep 17 00:00:00 2001 From: Tong Liu Date: Thu, 21 Apr 2016 17:59:34 +0000 Subject: [PATCH] Tempest: Skip security group tests because of bug Some security group related test cases are failing because of a backend platform bug. Add a decorator to skip these tests as they are consistently failing. It will be removed when the bug is fixed. Change-Id: I087dd2bd3da126e29a31f895779be1ae15514dd6 --- .../tests/nsxv3/api/test_nsx_security_groups.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vmware_nsx_tempest/tests/nsxv3/api/test_nsx_security_groups.py b/vmware_nsx_tempest/tests/nsxv3/api/test_nsx_security_groups.py index 508f2ec0b0..c50461c824 100644 --- a/vmware_nsx_tempest/tests/nsxv3/api/test_nsx_security_groups.py +++ b/vmware_nsx_tempest/tests/nsxv3/api/test_nsx_security_groups.py @@ -21,6 +21,7 @@ import time from tempest.api.network import base_security_groups as base from tempest import config from tempest.lib.common.utils import data_utils +from tempest.lib import decorators from tempest import test from vmware_nsx_tempest._i18n import _LI @@ -85,6 +86,7 @@ class NSXv3SecGroupTest(base.BaseSecGroupTest): "rule does not match with %s." % (key, value)) + @decorators.skip_because(bug="1617528") @test.attr(type='nsxv3') @test.idempotent_id('904ca2c1-a14d-448b-b723-a7366e613bf1') def test_create_update_nsx_security_group(self): @@ -124,6 +126,7 @@ class NSXv3SecGroupTest(base.BaseSecGroupTest): self.assertIsNotNone(nsx_dfw_section, "Firewall section %s is not updated!") + @decorators.skip_because(bug="1617528") @test.attr(type='nsxv3') @test.idempotent_id('e637cc59-c5e6-49b5-a539-e517e780656e') def test_delete_nsx_security_group(self): @@ -145,6 +148,7 @@ class NSXv3SecGroupTest(base.BaseSecGroupTest): self.assertIsNone(nsx_nsgroup) self.assertIsNone(nsx_dfw_section) + @decorators.skip_because(bug="1617528") @test.attr(type='nsxv3') @test.idempotent_id('91c298c0-fbbd-4597-b4c6-1a7ecfb8a2de') def test_create_nsx_security_group_rule(self): @@ -205,6 +209,7 @@ class NSXv3SecGroupTest(base.BaseSecGroupTest): self.assertEqual(value, nsx_dfw_rule[key], "%s does not match." % key) + @decorators.skip_because(bug="1617528") @test.attr(type='nsxv3') @test.idempotent_id('b6c424e5-3553-4b7d-bd95-8b1f0a860fb4') def test_delete_nsx_security_group_rule(self):