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
This commit is contained in:
Tong Liu 2016-04-21 17:59:34 +00:00
parent eebeeec051
commit 108d1cc41d

View File

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