From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 9B34BA0096 for ; Wed, 5 Jun 2019 07:24:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6B27E4D27; Wed, 5 Jun 2019 07:24:24 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 9DE544D27 for ; Wed, 5 Jun 2019 07:24:23 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2019 22:24:22 -0700 X-ExtLoop1: 1 Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga007.fm.intel.com with ESMTP; 04 Jun 2019 22:24:22 -0700 Received: from fmsmsx163.amr.corp.intel.com (10.18.125.72) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Jun 2019 22:24:22 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx163.amr.corp.intel.com (10.18.125.72) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 4 Jun 2019 22:24:22 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.10]) by shsmsx102.ccr.corp.intel.com ([169.254.2.134]) with mapi id 14.03.0415.000; Wed, 5 Jun 2019 13:24:20 +0800 From: "Tu, Lijuan" To: "Zhang, YanX A" , "dts@dpdk.org" CC: "Zhang, YanX A" Thread-Topic: [dts] [PATCH V1] update TestSuite_vf_jumboframe reduce runtime Thread-Index: AQHVGqEmNSwiQdZZJ0mYJv5vmh0L/6aMiI5g Date: Wed, 5 Jun 2019 05:24:20 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAA18FD@SHSMSX101.ccr.corp.intel.com> References: <1559630987-133866-1-git-send-email-yanx.a.zhang@intel.com> In-Reply-To: <1559630987-133866-1-git-send-email-yanx.a.zhang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTgxNjNiMGYtOTZhZi00YjA4LTk4NDUtMGYxMGY5YTI5M2Q3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidDl1RVNxb1FqTHAxblU0b2J4ekRES3hBRlRBQnNoNUpMdVRTWkhxZnd5b0hCWDJKM3E5YkhLUFczZ2s2VjhIeSJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] update TestSuite_vf_jumboframe reduce runtime 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan > Sent: Tuesday, June 4, 2019 2:50 PM > To: dts@dpdk.org > Cc: Zhang, YanX A > Subject: [dts] [PATCH V1] update TestSuite_vf_jumboframe reduce runtime >=20 > Change code structure to reduce runtime >=20 > Signed-off-by: zhang,yan > --- > tests/TestSuite_vf_jumboframe.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_vf_jumboframe.py > b/tests/TestSuite_vf_jumboframe.py > index dc16479..f082cec 100644 > --- a/tests/TestSuite_vf_jumboframe.py > +++ b/tests/TestSuite_vf_jumboframe.py > @@ -50,9 +50,10 @@ class TestVfJumboFrame(TestCase): > self.netobj =3D self.tester.ports_info[tester_port]['port'] > self.netobj.enable_jumbo(framesize=3DETHER_JUMBO_FRAME_MTU + > 100) >=20 > + self.setup_vm_env() >=20 > def set_up(self): > - self.setup_vm_env() > + pass >=20 > def bind_nic_driver(self, ports, driver=3D""): > # modprobe vfio driver > @@ -321,7 +322,7 @@ class TestVfJumboFrame(TestCase): > """ > Run after each test case. > """ > - self.destroy_vm_env() > + pass >=20 > def tear_down_all(self): > """ > -- > 2.17.2