From: Lijuan Tu <lijuanx.a.tu@intel.com>
To: dts@dpdk.org, qian.q.xu@intel.com, yulong.pei@intel.com
Subject: [dts] [PATCH]tests vf_packet_rxtx: clear vm environment after every case If in one suite , multipule cases have different vm env, we should clear vm env after every case.
Date: Mon, 22 Feb 2016 13:00:33 +0800 [thread overview]
Message-ID: <1456117233-5308-1-git-send-email-lijuanx.a.tu@intel.com> (raw)
Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
---
tests/TestSuite_vf_packet_rxtx.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_vf_packet_rxtx.py b/tests/TestSuite_vf_packet_rxtx.py
index bfa7526..def7816 100644
--- a/tests/TestSuite_vf_packet_rxtx.py
+++ b/tests/TestSuite_vf_packet_rxtx.py
@@ -276,8 +276,6 @@ class TestVfPacketRxtx(TestCase):
if self.setup_3vf_2vm_env_flag == 1:
self.destroy_3vf_2vm_env()
- def tear_down_all(self):
-
if getattr(self, 'vm0', None):
self.vm0.stop()
@@ -287,3 +285,6 @@ class TestVfPacketRxtx(TestCase):
for port_id in self.dut_ports:
self.dut.destroy_sriov_vfs_by_port(port_id)
+ def tear_down_all(self):
+ pass
+
--
2.5.0
next reply other threads:[~2016-02-22 5:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-22 5:00 Lijuan Tu [this message]
2016-02-23 1:11 ` Liu, Yong
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=1456117233-5308-1-git-send-email-lijuanx.a.tu@intel.com \
--to=lijuanx.a.tu@intel.com \
--cc=dts@dpdk.org \
--cc=qian.q.xu@intel.com \
--cc=yulong.pei@intel.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).