Add new test for migration that bringup vm with different machine types and
migrate it, introduce new API in avocado_qemu to query all the machine
types supported by qemu.
Test run:
# avocado run migration.py
JOB ID : ef54f57a073eb267d2347e32225f2adbe27969de
JOB LOG : /home/bala/avocado-fvt-wrapper/results/job-2019-08-05T13.54-ef54f57/job.log
(1/2) migration.py:Migration.test_migration_with_tcp_localhost: PASS (0.54 s)
(2/2) migration.py:Migration.test_migration_with_machine_types: PASS (5.21 s)
RESULTS : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME : 5.86 s
Currently acceptance test for migration error out as we check `query-migrate`
in target after migration which is not appropriate.
Balamuruhan S (3):
tests/acceptance/migration: fix post migration check
tests/acceptance/avocado_qemu: add method to get supported machine
types
tests/acceptance/migration: test to migrate will all machine types
tests/acceptance/avocado_qemu/__init__.py | 6 ++++++
tests/acceptance/migration.py | 27 ++++++++++++++++++++++++++-
2 files changed, 32 insertions(+), 1 deletion(-)
--
2.14.5