This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push:
new 6def370f4a2 test: fix unknown parameter hostid in
test_vm_life_cycle.py (#8948)
6def370f4a2 is described below
commit 6def370f4a244a8637660edd2aa776fbac9cec13
Author: Wei Zhou <[email protected]>
AuthorDate: Wed Apr 24 08:59:33 2024 +0200
test: fix unknown parameter hostid in test_vm_life_cycle.py (#8948)
---
test/integration/smoke/test_vm_life_cycle.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/integration/smoke/test_vm_life_cycle.py
b/test/integration/smoke/test_vm_life_cycle.py
index 6c824c1fe7d..aaffa63978a 100644
--- a/test/integration/smoke/test_vm_life_cycle.py
+++ b/test/integration/smoke/test_vm_life_cycle.py
@@ -1035,7 +1035,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
time.sleep(interval)
restarted_host = Host.list(
cls.apiclient,
- hostid=host.id,
+ id=host.id,
type='Routing'
)[0]
if restarted_host.state == "Up":
@@ -1100,7 +1100,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
time.sleep(interval)
host = Host.list(
self.apiclient,
- hostid=hostId,
+ id=hostId,
type='Routing'
)[0]
if host.state != state:
@@ -1160,7 +1160,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
host = Host.list(
self.apiclient,
zoneid=self.zone.id,
- hostid=host.id,
+ id=host.id,
type='Routing'
)[0]
if host.details.secured != secured: