From: Oksana Vohchana <ovoshcha@redhat.com>
To: qemu-devel@nongnu.org
Cc: ovoshcha@redhat.com, philmd@redhat.com, wainersm@redhat.com,
crosa@redhat.com
Subject: [PATCH v5 3/3] Acceptance test: provides to use RDMA transport for migration test
Date: Tue, 7 Apr 2020 18:56:42 +0300 [thread overview]
Message-ID: <20200407155642.10716-4-ovoshcha@redhat.com> (raw)
In-Reply-To: <20200407155642.10716-1-ovoshcha@redhat.com>
Adds test for RDMA migration check
Signed-off-by: Oksana Vohchana <ovoshcha@redhat.com>
---
tests/acceptance/migration.py | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tests/acceptance/migration.py b/tests/acceptance/migration.py
index 1c3a684395..99563ae850 100644
--- a/tests/acceptance/migration.py
+++ b/tests/acceptance/migration.py
@@ -120,3 +120,15 @@ class Migration(Test):
"""
free_port = self._get_free_port()
dest_uri = 'exec:nc -l localhost %u' % free_port
+
+ @skipUnless(get_rdma_status(), 'RDMA service is disabled or not installed')
+ @skipUnless(get_interface_rdma(), 'RDMA interface not configured')
+ def test_migration_with_rdma_localhost(self):
+ iface = get_interface_rdma()
+ ip = get_ip_rdma(iface)
+ if ip:
+ free_port = self._get_free_port(address=ip[0])
+ else:
+ self.cancel("Ip address doesn't configured properly on interface:%s" % iface)
+ dest_uri = 'rdma:%s:%u' % (ip, free_port)
+ self.do_migrate(dest_uri)
--
2.21.1
next prev parent reply other threads:[~2020-04-07 16:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 15:56 [PATCH v5 0/3] Acceptance test: Extension of migration tests Oksana Vohchana
2020-04-07 15:56 ` [PATCH v5 1/3] Acceptance test: adds param 'address' in _get_free_port Oksana Vohchana
2020-04-07 17:21 ` Willian Rampazzo
2020-04-07 15:56 ` [PATCH v5 2/3] Acceptance test: provides new functions Oksana Vohchana
2020-04-07 17:22 ` Willian Rampazzo
2020-04-07 15:56 ` Oksana Vohchana [this message]
2020-04-07 17:22 ` [PATCH v5 3/3] Acceptance test: provides to use RDMA transport for migration test Willian Rampazzo
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=20200407155642.10716-4-ovoshcha@redhat.com \
--to=ovoshcha@redhat.com \
--cc=crosa@redhat.com \
--cc=philmd@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).