Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
smoke tests / CI : Fix test_vm_stric_host_tags
  • Loading branch information
Pearl1594 committed May 2, 2025
commit fa8632572f88b3a4666af8bf9e3239d0268c1474
6 changes: 3 additions & 3 deletions test/integration/smoke/test_vm_strict_host_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def test_06_deploy_vm_on_any_host_with_strict_tags_failure(self):
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):
Expand Down Expand Up @@ -310,7 +310,7 @@ def test_02_scale_vm_strict_tags_failure(self):
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):
Expand Down Expand Up @@ -423,7 +423,7 @@ def test_02_restore_vm_strict_tags_failure(self):
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):
Expand Down
Loading