From: Amador Pahim <apahim@redhat.com>
There's a exception name mismatch when callin `QEMUMigrationError`.
Fixing.
Signed-off-by: Amador Pahim <apahim@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
tests/avocado/avocado_qemu/test.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/avocado/avocado_qemu/test.py b/tests/avocado/avocado_qemu/test.py
index 57c63b2853..f3c7091343 100644
--- a/tests/avocado/avocado_qemu/test.py
+++ b/tests/avocado/avocado_qemu/test.py
@@ -328,7 +328,7 @@ class _VM(qemu.QEMUMachine):
logging.info("Migration successful")
return True
elif 'failed' in res['return']:
- raise QEMUMigrateError("Migration of %s failed" % self)
+ raise QEMUMigrationError("Migration of %s failed" % self)
return False
port = self.ports.find_free_port()
@@ -343,8 +343,8 @@ class _VM(qemu.QEMUMachine):
text='Waiting for migration to complete')
if mig_result is None:
- raise QEMUMigrateError("Migration of %s did not complete after "
- "%s s" % (self.name, timeout))
+ raise QEMUMigrationError("Migration of %s did not complete after "
+ "%s s" % (self.name, timeout))
return newvm
--
2.14.3