[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 lijuanx.a.tu at intel.com
Mon Feb 22 06:00:33 CET 2016


Signed-off-by: Lijuan Tu <lijuanx.a.tu at 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



More information about the dts mailing list