From: Oksana Vohchana <ovoshcha@redhat.com>
To: qemu-devel@nongnu.org, wainersm@redhat.com
Cc: ovoshcha@redhat.com
Subject: [PATCH v2] Acceptance test: provides to use different transport for migration
Date: Wed, 29 Jan 2020 11:59:03 +0200 [thread overview]
Message-ID: <20200129095903.31088-1-ovoshcha@redhat.com> (raw)
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
reply other threads:[~2020-01-29 9:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200129095903.31088-1-ovoshcha@redhat.com \
--to=ovoshcha@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).