* [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.
@ 2016-02-22 5:00 Lijuan Tu
2016-02-23 1:11 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: Lijuan Tu @ 2016-02-22 5:00 UTC (permalink / raw)
To: dts, qian.q.xu, yulong.pei
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [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.
2016-02-22 5:00 [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 Lijuan Tu
@ 2016-02-23 1:11 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-02-23 1:11 UTC (permalink / raw)
To: Lijuan Tu, dts, qian.q.xu, yulong.pei
Applied. Thanks.
On 02/22/2016 01:00 PM, Lijuan Tu wrote:
> 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
> +
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-23 1:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-22 5:00 [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 Lijuan Tu
2016-02-23 1:11 ` Liu, Yong
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).