We could give a further test of migration by launch test during migartion. So
the following series implements:
- A simple class to run a specified test in the background which could be used
to launch other test during migartion. Its design is rather simple and its usage
is a little tricky, but it work well.
- Two sample tests which take advantages of the background class: Test reboot
during guest migration and test file_transfer during guest migration.
In the future, we could even lauch autotest client test during guest migation.
---
Jason Wang (3):
KVM Test: Introduce a helper class to run a test in the background
KVM test: Test reboot during migration
KVM test: Test the file transfer during migartion
client/tests/kvm/kvm_test_utils.py | 44 +++++++++++++++
.../kvm/tests/migration_with_file_transfer.py | 59 ++++++++++++++++++++
client/tests/kvm/tests/migration_with_reboot.py | 45 +++++++++++++++
client/tests/kvm/tests_base.cfg.sample | 12 ++++
4 files changed, 159 insertions(+), 1 deletions(-)
create mode 100644 client/tests/kvm/tests/migration_with_file_transfer.py
create mode 100644 client/tests/kvm/tests/migration_with_reboot.py
--
Jason Wang
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html