mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM
Signed-off-by: Prasanna Santhanam <tsp@apache.org> (cherry picked from commit 8191f5c6902b3c0d677858ef851f1eade8871d8d)
This commit is contained in:
parent
610ebaa08f
commit
ac6b26ff81
@ -178,6 +178,10 @@ class TestExplicitDedication(cloudstackTestCase):
|
|||||||
empty_host = host
|
empty_host = host
|
||||||
break
|
break
|
||||||
|
|
||||||
|
#If no empty host is found, return
|
||||||
|
if empty_host:
|
||||||
|
self.skipTest("Did not find any empty hosts, Skipping")
|
||||||
|
|
||||||
# Create an affinity group for explicit dedication.
|
# Create an affinity group for explicit dedication.
|
||||||
agCmd = createAffinityGroup.createAffinityGroupCmd()
|
agCmd = createAffinityGroup.createAffinityGroupCmd()
|
||||||
agCmd.name = "explicit-affinity"
|
agCmd.name = "explicit-affinity"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user