mirror of
https://github.com/apache/cloudstack
synced 2026-08-02 05:26:35 +00:00
Fix simulator test failures on main (#13608)
This commit is contained in:
parent
d2a3bd1aa7
commit
13742921d1
@ -7267,8 +7267,6 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
|
||||
forVpc = false;
|
||||
} else if (service == Service.NetworkACL) {
|
||||
forVpc = true;
|
||||
} else if (service == Service.Firewall) {
|
||||
forVpc = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -868,10 +868,10 @@ class TestVPCOffering(cloudstackTestCase):
|
||||
|
||||
# Validate the following
|
||||
# 1. Creating VPC Offering with services NOT supported by VPC
|
||||
# like Firewall should not be allowed
|
||||
# like SecurityGroup should not be allowed
|
||||
|
||||
self.logger.debug("Creating a VPC offering with Firewall")
|
||||
self.services["vpc_offering"]["supportedservices"] = 'Dhcp,Dns,PortForwarding,Firewall,Vpn,SourceNat,Lb,UserData,StaticNat'
|
||||
self.logger.debug("Creating a VPC offering with SecurityGroup")
|
||||
self.services["vpc_offering"]["supportedservices"] = 'Dhcp,Dns,PortForwarding,SecurityGroup,Vpn,SourceNat,Lb,UserData,StaticNat'
|
||||
|
||||
with self.assertRaises(Exception):
|
||||
VpcOffering.create(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user