mirror of https://github.com/apache/cloudstack.git
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 8191f5c690)
This commit is contained in:
parent
610ebaa08f
commit
ac6b26ff81
|
|
@ -178,6 +178,10 @@ class TestExplicitDedication(cloudstackTestCase):
|
|||
empty_host = host
|
||||
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.
|
||||
agCmd = createAffinityGroup.createAffinityGroupCmd()
|
||||
agCmd.name = "explicit-affinity"
|
||||
|
|
|
|||
Loading…
Reference in New Issue