Skip to content

Commit ac6b26f

Browse files
SakshamsPrasanna Santhanam
authored andcommitted
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 8191f5c)
1 parent 610ebaa commit ac6b26f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎test/integration/component/test_explicit_dedication.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ def test_01_deploy_vm_with_explicit_dedication(self):
178178
empty_host = host
179179
break
180180

181+
#If no empty host is found, return
182+
if empty_host:
183+
self.skipTest("Did not find any empty hosts, Skipping")
184+
181185
# Create an affinity group for explicit dedication.
182186
agCmd = createAffinityGroup.createAffinityGroupCmd()
183187
agCmd.name = "explicit-affinity"

0 commit comments

Comments
 (0)