This is an automated email from the ASF dual-hosted git repository. weizhou pushed a commit to branch 4.20 in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.20 by this push: new 83c3ea2e67f smoke tests / CI : Fix test_vm_stric_host_tags (#10806) 83c3ea2e67f is described below commit 83c3ea2e67f9de9f7f53cbd1b5dcf68e9416e037 Author: Pearl Dsilva <pearl1...@gmail.com> AuthorDate: Sun May 4 11:46:28 2025 +0530 smoke tests / CI : Fix test_vm_stric_host_tags (#10806) --- 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):