[V1] tests/vm_power_manager: fix script
Checks
Context |
Check |
Description |
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
restart libvirtd service before instantiating libvirtkvm. otherwise,
the instantiation of libvirtkvm will fail, resulting in suite block.
Signed-off-by: Jiale Song <songx.jiale@intel.com>
---
tests/TestSuite_vm_power_manager.py | 2 ++
1 file changed, 2 insertions(+)
@@ -60,6 +60,8 @@ class TestVmPowerManager(TestCase):
# map between host vcpu and guest vcpu
self.vcpu_map = []
+ # restart libvirtd service
+ self.dut.send_expect("service libvirtd restart", "# ")
# start vm
self.vm_name = "vm0"
self.vm = LibvirtKvm(self.dut, self.vm_name, self.suite_name)