mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3900: Remove the offering that is deleted before cleanup
One of the VPC offerings (4) is deleted in the test before moving into teardown. This offering should be removed from cleanup. Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit d66edb5e2bc7d0396709ffcc35dfc61d563f307a)
This commit is contained in:
parent
eae874918d
commit
098c2db4b7
@ -303,7 +303,6 @@ class TestVPCOffering(cloudstackTestCase):
|
||||
)
|
||||
# Enable Network offering
|
||||
self.network_offering.update(self.apiclient, state='Enabled')
|
||||
self.cleanup.append(self.network_offering)
|
||||
|
||||
gateway = vpc.cidr.split('/')[0]
|
||||
# Split the cidr to retrieve gateway
|
||||
@ -1006,7 +1005,7 @@ class TestVPCOffering(cloudstackTestCase):
|
||||
)
|
||||
return
|
||||
|
||||
@attr(tags=["advanced", "intervlan"])
|
||||
@attr(tags=["advanced", "intervlan", "needle"])
|
||||
def test_08_list_vpc_off(self):
|
||||
"""Test list VPC offering"""
|
||||
|
||||
@ -1061,7 +1060,6 @@ class TestVPCOffering(cloudstackTestCase):
|
||||
self.apiclient,
|
||||
self.services["vpc_offering"]
|
||||
)
|
||||
self.cleanup.append(vpc_off_4)
|
||||
self.debug("Enabling the VPC offering created")
|
||||
vpc_off_4.update(self.apiclient, state='Enabled')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user