slavkap commented on code in PR #6661:
URL: https://github.com/apache/cloudstack/pull/6661#discussion_r1054059289


##########
test/integration/plugins/storpool/MigrateVolumeToStorPool.py:
##########
@@ -194,9 +194,12 @@ def setUpCloudStack(cls):
         securitygroup = SecurityGroup.list(cls.apiclient, account = 
cls.account.name, domainid= cls.account.domainid)[0]
         cls.helper.set_securityGroups(cls.apiclient, account = 
cls.account.name, domainid= cls.account.domainid, id = securitygroup.id)
 
+        cls.clusters = cls.helper.getClustersWithStorPool(cls.apiclient, 
cls.zone.id,)
+
         cls.vm = VirtualMachine.create(cls.apiclient,

Review Comment:
   @DaanHoogland, sometimes you're missing adding something to be cleaned, or 
the deletion fails because it's not in the correct order. That's why I found 
that when you create all on one test account, CS will delete all objects on it 
correctly. There is always a possibility something to fail :D 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to