Skip secgroup invalid name/desc tests until bug 1161411 is fixed
There is an existing review which tries to deal with bug 1161411: https://review.openstack.org/#/c/34559/ Until there is consensus on how to fix this, skip the compute tests if neutron is available. Change-Id: I41bd2232ad4e489daaa8de3902d7e158f3e577bf
This commit is contained in:
@@ -123,6 +123,8 @@ class SecurityGroupsTestJSON(base.BaseComputeTest):
|
||||
self.assertRaises(exceptions.NotFound, self.client.get_security_group,
|
||||
non_exist_id)
|
||||
|
||||
@testtools.skipIf(config.TempestConfig().service_available.neutron,
|
||||
"Skipped until the Bug #1161411 is resolved")
|
||||
@attr(type=['negative', 'gate'])
|
||||
def test_security_group_create_with_invalid_group_name(self):
|
||||
# Negative test: Security Group should not be created with group name
|
||||
@@ -141,6 +143,8 @@ class SecurityGroupsTestJSON(base.BaseComputeTest):
|
||||
self.client.create_security_group, s_name,
|
||||
s_description)
|
||||
|
||||
@testtools.skipIf(config.TempestConfig().service_available.neutron,
|
||||
"Skipped until the Bug #1161411 is resolved")
|
||||
@attr(type=['negative', 'gate'])
|
||||
def test_security_group_create_with_invalid_group_description(self):
|
||||
# Negative test:Security Group should not be created with description
|
||||
|
||||
Reference in New Issue
Block a user