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
This commit is contained in:
Lajos Katona 2019-03-20 13:16:01 +01:00
parent fc831a916d
commit c1052e777d
1 changed files with 0 additions and 8 deletions

View File

@ -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(