* [PATCH v2] Acceptance test: provides to use different transport for migration
@ 2020-01-29 9:59 Oksana Vohchana
0 siblings, 0 replies; only message in thread
From: Oksana Vohchana @ 2020-01-29 9:59 UTC (permalink / raw)
To: qemu-devel, wainersm; +Cc: ovoshcha
Along with VM migration via TCP, we can use migration through EXEC
and UNIX transport protocol
---
tests/acceptance/migration.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index 8bbe28d52d..1f6a674843 100644
--- a/tests/acceptance/migration.py
+++ b/tests/acceptance/migration.py
@@ -12,11 +12,11 @@
import tempfile
from avocado_qemu import Test
-from avocado import skipUnless\
+from avocado import skipUnless
from avocado.utils import network
from avocado.utils import wait
-from avocado.utils.path import find_command, CmdNotFoundError
+from avocado.utils.path import find_command
class Migration(Test):
@@ -62,6 +62,7 @@ class Migration(Test):
with tempfile.TemporaryDirectory(prefix='socket_') as socket_path:
dest_uri = 'unix:%s/qemu-test.sock' % socket_path
self.do_migrate(dest_uri)
+
@skipUnless(find_command('nc', default=False), "nc command not found on the system")
def test_migration_with_exec(self):
free_port = self._get_free_port()
--
2.21.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-29 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-29 9:59 [PATCH v2] Acceptance test: provides to use different transport for migration Oksana Vohchana
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).