summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxudan <xudan16@huawei.com>2018-08-08 03:08:03 -0400
committerxudan <xudan16@huawei.com>2018-08-13 21:23:25 -0400
commit839377b3b9c18ebf73cd6a7bfeb85d73f548d6b7 (patch)
treeb22460015a3585f23f3a9b94e9cf73549479f0cd
parent8e049deb6d5829a63c50d77c19be5040e8328f20 (diff)
Remove one sub test cases from neutron trunk
There is one sub test case that can't work correctly on Mitaka, neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk_with_description It will get a 'Bad request' error. Details: {u'message': u"Unrecognized attribute(s) 'description'", u'type': u'HTTPBadRequest', u'detail': u''}. That's mainly because of that, For Mitaka, there's only several extension resources that support attribute 'description', which is 'security_group_rules', 'security_groups', 'ports', 'subnets', 'networks', 'routers', 'floatingips' and 'subnetpools'. All other extension resources including trunk port can't create with description. See https://github.com/openstack/neutron/blob/mitaka-eol/neutron/extensions/standardattrdescription.py#L22 For Newton, all subclasses of class 'HasStandardAttributes' support the attribute 'description' including class Trunk. See https://github.com/openstack/neutron/blob/newton-eol/neutron/extensions/standardattrdescription.py#L49, https://github.com/openstack/neutron/blob/newton-eol/neutron/db/standard_attr.py#L158 and https://github.com/openstack/neutron/blob/newton-eol/neutron/services/trunk/models.py#L26 JIRA: DOVETAIL-723 Change-Id: Ifdfea7c54a1888d933c8ddd78a6feea1db93368c Signed-off-by: xudan <xudan16@huawei.com>
-rw-r--r--etc/testcase/functest.tempest.trunk-ports.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/testcase/functest.tempest.trunk-ports.yml b/etc/testcase/functest.tempest.trunk-ports.yml
index 6985e46d..b0b8726a 100644
--- a/etc/testcase/functest.tempest.trunk-ports.yml
+++ b/etc/testcase/functest.tempest.trunk-ports.yml
@@ -23,7 +23,6 @@ functest.tempest.neutron_trunk_ports:
- neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_show_delete_trunk
- neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_trunk_empty_subports_list
- neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_trunk_subports_not_specified
- - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk_with_description
- neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_delete_trunk_with_subport_is_allowed
- neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_get_subports
- neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_list_trunks