From c1052e777ded77ff565c78b3e106d4bbf782d7c5 Mon Sep 17 00:00:00 2001 From: Lajos Katona Date: Wed, 20 Mar 2019 13:16:01 +0100 Subject: [PATCH] Remove test_port_resource_request_no_provider_net PortTestCasesResourceRequest.test_port_resource_request_no_provider_net assumed that creating a port with QoS mimimum bandwidth policy rule on a network without physnet is allowed, but it can't be as that would mean that the user got a bandwidth guarantee, but the current placement based bandwidth aware scheduling works only with physnet based ports. This patch removes this test assuming that port creation with QoS policies tested by legacy test for Stein-n branches. Change-Id: Iae7ff22e94029d19895ac46ab9bcc9f7a3c4a250 Related-Bug: #1819029 Needed-By: https://review.openstack.org/641712 --- neutron_tempest_plugin/api/admin/test_ports.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/neutron_tempest_plugin/api/admin/test_ports.py b/neutron_tempest_plugin/api/admin/test_ports.py index 642e9109..63fb611c 100644 --- a/neutron_tempest_plugin/api/admin/test_ports.py +++ b/neutron_tempest_plugin/api/admin/test_ports.py @@ -150,14 +150,6 @@ class PortTestCasesResourceRequest(base.BaseAdminNetworkTest): port = self.admin_client.show_port(port_id)['port'] self.assertIsNone(port['resource_request']) - @decorators.idempotent_id('10b3308b-d8a2-459b-9b89-a146863c357f') - def test_port_resource_request_no_provider_net(self): - port = self._create_qos_policy_and_port( - network=self.network, vnic_type=self.vnic_type) - - self.assertIn('resource_request', port) - self.assertIsNone(port['resource_request']) - @decorators.idempotent_id('0eeb6ffa-9a7a-40b5-83dd-dbdcd67e2e64') def test_port_resource_request_empty(self): qos_policy = self.create_qos_policy(