From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 6486D2B8A for ; Tue, 23 Feb 2016 02:09:20 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 22 Feb 2016 17:09:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,487,1449561600"; d="scan'208";a="52813708" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga004.fm.intel.com with ESMTP; 22 Feb 2016 17:09:18 -0800 Message-ID: <56CBB1C5.2010002@intel.com> Date: Tue, 23 Feb 2016 09:11:33 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Lijuan Tu , dts@dpdk.org, qian.q.xu@intel.com, yulong.pei@intel.com References: <1456117233-5308-1-git-send-email-lijuanx.a.tu@intel.com> In-Reply-To: <1456117233-5308-1-git-send-email-lijuanx.a.tu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: 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. 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: Tue, 23 Feb 2016 01:09:20 -0000 Applied. Thanks. On 02/22/2016 01:00 PM, Lijuan Tu wrote: > 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 > +