Fix simulator test failures on main (#13608)

This commit is contained in:
Harikrishna 2026-07-14 15:47:09 +05:30 committed by GitHub
parent d2a3bd1aa7
commit 13742921d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 5 deletions

View File

@ -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;
}
}

View File

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