Disable DHCP on test_create_port_when_quotas_is_full
This test sets the quota to 1 for a tenant and creates two ports, ensuring 1 works and one fails. This breaks though if dhcp is enabled on the subnet and a DHCP agent is running for the deployment because the agent will take up a port. This patch disables DHCP on the subnet for the test. Change-Id: Id6b114962d7635999b8c5408e33b55b7a23243ee Closes-Bug: #1623505
This commit is contained in:
parent
32acfee767
commit
c66e343618
|
@ -71,6 +71,7 @@ class QuotasAdminNegativeTestJSON(test_quotas.QuotasTestBase):
|
|||
|
||||
subnet_args = {'tenant_id': tenant_id,
|
||||
'network_id': net['id'],
|
||||
'enable_dhcp': False,
|
||||
'cidr': '10.0.0.0/24',
|
||||
'ip_version': '4'}
|
||||
subnet = self.admin_client.create_subnet(**subnet_args)['subnet']
|
||||
|
|
Loading…
Reference in New Issue