Skip test_dscp_bwlimit_external_network with only one compute
After recent changes in neutron, BW limit rules are applied in a different way and testing BW limit applied to a provider network makes only sense between VM instances running on different compute nodes. Related-bug: #2095167 Change-Id: I6a8a26e250bc116689658c846d4c4d35e1948488
This commit is contained in:
parent
da9f583c1e
commit
c644e48d61
@ -1014,6 +1014,10 @@ class QosTestExternalNetwork(QosBaseTest):
|
||||
ext_vm['port']['fixed_ips'][0]['ip_address'], self.username,
|
||||
pkey=self.keypair['private_key'])
|
||||
|
||||
@testtools.skipUnless(
|
||||
CONF.compute.min_compute_nodes > 1,
|
||||
'BW limit rules applied to provider network can only be tested when '
|
||||
'there is more than one compute')
|
||||
@decorators.idempotent_id('c018b96b-47eb-4b5f-b750-e0c857fd86a9')
|
||||
def test_dscp_bwlimit_external_network(self):
|
||||
max_kbps = self.bwlimit_kbps_net
|
||||
|
Loading…
x
Reference in New Issue
Block a user