Updated Branches: refs/heads/master 610ebaa08 -> ac6b26ff8
CLOUDSTACK-4021:[Automation] TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to deploy VM Signed-off-by: Prasanna Santhanam <t...@apache.org> (cherry picked from commit 8191f5c6902b3c0d677858ef851f1eade8871d8d) Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ac6b26ff Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/ac6b26ff Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/ac6b26ff Branch: refs/heads/master Commit: ac6b26ff810cd2f3a9f7de0fa7bb481dd0781be3 Parents: 610ebaa Author: Saksham Srivastava <saksham.srivast...@citrix.com> Authored: Wed Aug 7 19:26:28 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Thu Aug 8 16:57:47 2013 +0530 ---------------------------------------------------------------------- test/integration/component/test_explicit_dedication.py | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/ac6b26ff/test/integration/component/test_explicit_dedication.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_explicit_dedication.py b/test/integration/component/test_explicit_dedication.py index e1991ac..93c2771 100644 --- a/test/integration/component/test_explicit_dedication.py +++ b/test/integration/component/test_explicit_dedication.py @@ -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"