From 84c6a770b9ef694cc86bea1e3930c56787552aa1 Mon Sep 17 00:00:00 2001 From: xudan Date: Tue, 31 Jul 2018 23:36:37 -0400 Subject: Remove 2 sub test cases from neutron_trunk check list 1. neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_create_update_trunk This test case will get the value of key 'revision_number' [1], While this is a new extension for Newton and not support by Mitaka. Please refer to the history of neutron github and the differences between mitaka tag [3] (which has no file revisions.py) and newton [4]. 2. neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_show_trunk_has_project_id This test case requires extension 'project-id' [5], while this is also a new extension for Newton. Please refer to the history of neutron [6] and the difference between mitaka tag [3] (which has no file project_id.py) and newton [7]. Also it is a little unreasonable to check both tenant_id and project_id. For some products, they may only have either tenant_id or project_id (not both). Has sent an email to the neutron_trunk team but get no feedback until now. [1] https://github.com/openstack/neutron/blob/stable%2Fpike/neutron/tests/tempest/api/test_trunk.py#L123 [2] https://github.com/openstack/neutron/commits/newton-eol/neutron/extensions/revisions.py [3] https://github.com/openstack/neutron/tree/mitaka-eol/neutron/extensions [4] https://github.com/openstack/neutron/blob/newton-eol/neutron/extensions/revisions.py [5] https://github.com/openstack/neutron/blob/stable%2Fpike/neutron/tests/tempest/api/test_trunk.py#L110 [6] https://github.com/openstack/neutron/commits/newton-eol/neutron/extensions/project_id.py [7] https://github.com/openstack/neutron/blob/master/neutron/extensions/project_id.py JIRA: DOVETAIL-723 Change-Id: Idb4a56d47148b14ae4674549f98b1be65e9b8f15 Signed-off-by: xudan --- etc/testcase/functest.tempest.trunk-ports.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/etc/testcase/functest.tempest.trunk-ports.yml b/etc/testcase/functest.tempest.trunk-ports.yml index e19f879f..6985e46d 100644 --- a/etc/testcase/functest.tempest.trunk-ports.yml +++ b/etc/testcase/functest.tempest.trunk-ports.yml @@ -23,13 +23,11 @@ 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 - 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 - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_remove_subport - - neutron.tests.tempest.api.test_trunk.TrunkTestJSON.test_show_trunk_has_project_id - neutron.tests.tempest.api.test_trunk.TrunksSearchCriteriaTest.test_list_no_pagination_limit_0 - neutron.tests.tempest.api.test_trunk.TrunksSearchCriteriaTest.test_list_pagination - neutron.tests.tempest.api.test_trunk.TrunksSearchCriteriaTest.test_list_pagination_page_reverse_asc -- cgit 1.2.3-korg