You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pe...@apache.org on 2025/05/02 10:44:30 UTC
(cloudstack) 01/01: smoke tests / CI : Fix test_vm_stric_host_tags
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a commit to branch fix-strict-host-tags-test
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit fa8632572f88b3a4666af8bf9e3239d0268c1474
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Fri May 2 16:14:14 2025 +0530
smoke tests / CI : Fix test_vm_stric_host_tags
---
test/integration/smoke/test_vm_strict_host_tags.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/integration/smoke/test_vm_strict_host_tags.py b/test/integration/smoke/test_vm_strict_host_tags.py
index 163869c8fae..2377e9a7618 100644
--- a/test/integration/smoke/test_vm_strict_host_tags.py
+++ b/test/integration/smoke/test_vm_strict_host_tags.py
@@ -190,7 +190,7 @@ class TestVMDeploymentPlannerStrictTags(cloudstackTestCase):
self.cleanup.append(vm)
self.fail("VM should not be deployed")
except Exception as e:
- self.assertTrue("No suitable host found for vm " in str(e))
+ self.assertTrue("No destination found for a deployment for VM instance" in str(e))
class TestScaleVMStrictTags(cloudstackTestCase):
@@ -310,7 +310,7 @@ class TestScaleVMStrictTags(cloudstackTestCase):
vm.start(self.apiclient)
self.fail("VM should not be be able scale and start")
except Exception as e:
- self.assertTrue("No suitable host found for vm " in str(e))
+ self.assertTrue("Unable to orchestrate the start of VM instance" in str(e))
class TestRestoreVMStrictTags(cloudstackTestCase):
@@ -423,7 +423,7 @@ class TestRestoreVMStrictTags(cloudstackTestCase):
vm.restore(self.apiclient, templateid=self.template_t2.id, expunge=True)
self.fail("VM should not be restored")
except Exception as e:
- self.assertTrue("No suitable host found for vm " in str(e))
+ self.assertTrue("Unable to start VM with specified id" in str(e))
class TestMigrateVMStrictTags(cloudstackTestCase):