1) Start migration with stressed VM.
2) Wait cancel_delay and then cancel migration.
3) Check if machine is alive on source host.
4) Stop stress of VM.
5) Migrate machine again.
6) Check if machine is alive on destination host.

Signed-off-by: Jiří Župka <[email protected]>
---
 virttest/utils_test.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/virttest/utils_test.py b/virttest/utils_test.py
index 13225d0..eda2099 100644
--- a/virttest/utils_test.py
+++ b/virttest/utils_test.py
@@ -759,7 +759,7 @@ class MultihostMigration(object):
                     mig_error = True
                     raise
             finally:
-                if not mig_error:
+                if not mig_error and cancel_delay is None:
                     self._hosts_barrier(self.hosts,
                                         mig_data.mig_id,
                                         'test_finihed',
-- 
1.7.7.6

--
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

Reply via email to