mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Affinity Groups requires multiple storage pools
Fixing the affinity group test which would fail to find the appropriate storage pool to satisfy the anti-affinity group of the second VM Signed-off-by: Prasanna Santhanam <tsp@apache.org>
This commit is contained in:
parent
71771c1ba4
commit
c388f7f180
@ -84,8 +84,12 @@
|
||||
"clustertype": "CloudManaged",
|
||||
"primaryStorages": [
|
||||
{
|
||||
"url": "nfs://10.147.28.6:/export/home/sandbox/primary",
|
||||
"url": "nfs://10.147.28.6:/export/home/sandbox/primary0",
|
||||
"name": "PS0"
|
||||
},
|
||||
{
|
||||
"url": "nfs://10.147.28.6:/export/home/sandbox/primary1",
|
||||
"name": "PS1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -187,7 +187,7 @@ class TestDeployVmWithAffinityGroup(cloudstackTestCase):
|
||||
@classmethod
|
||||
def tearDown(cls):
|
||||
try:
|
||||
cls.api_client = super(TestDeployVmWithAffinityGroup, cls).getClsTestClient().getApiClient()
|
||||
#cls.api_client = super(TestDeployVmWithAffinityGroup, cls).getClsTestClient().getApiClient()
|
||||
#Clean up, terminate the created templates
|
||||
cleanup_resources(cls.api_client, cls.cleanup)
|
||||
except Exception as e:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user