mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
test: fix unknown parameter hostid in test_vm_life_cycle.py (#8948)
This commit is contained in:
parent
96ae479000
commit
6def370f4a
@ -1035,7 +1035,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
|
|||||||
time.sleep(interval)
|
time.sleep(interval)
|
||||||
restarted_host = Host.list(
|
restarted_host = Host.list(
|
||||||
cls.apiclient,
|
cls.apiclient,
|
||||||
hostid=host.id,
|
id=host.id,
|
||||||
type='Routing'
|
type='Routing'
|
||||||
)[0]
|
)[0]
|
||||||
if restarted_host.state == "Up":
|
if restarted_host.state == "Up":
|
||||||
@ -1100,7 +1100,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
|
|||||||
time.sleep(interval)
|
time.sleep(interval)
|
||||||
host = Host.list(
|
host = Host.list(
|
||||||
self.apiclient,
|
self.apiclient,
|
||||||
hostid=hostId,
|
id=hostId,
|
||||||
type='Routing'
|
type='Routing'
|
||||||
)[0]
|
)[0]
|
||||||
if host.state != state:
|
if host.state != state:
|
||||||
@ -1160,7 +1160,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
|
|||||||
host = Host.list(
|
host = Host.list(
|
||||||
self.apiclient,
|
self.apiclient,
|
||||||
zoneid=self.zone.id,
|
zoneid=self.zone.id,
|
||||||
hostid=host.id,
|
id=host.id,
|
||||||
type='Routing'
|
type='Routing'
|
||||||
)[0]
|
)[0]
|
||||||
if host.details.secured != secured:
|
if host.details.secured != secured:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user