From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4D5E637B2 for ; Mon, 22 Feb 2016 06:04:57 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 21 Feb 2016 21:04:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,483,1449561600"; d="scan'208";a="918169255" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by orsmga002.jf.intel.com with ESMTP; 21 Feb 2016 21:04:55 -0800 From: Lijuan Tu To: dts@dpdk.org, qian.q.xu@intel.com, yulong.pei@intel.com Date: Mon, 22 Feb 2016 13:00:33 +0800 Message-Id: <1456117233-5308-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 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. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 05:04:57 -0000 Signed-off-by: Lijuan Tu --- 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