From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D4482A04F0; Thu, 19 Dec 2019 08:52:39 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD6E21BC25; Thu, 19 Dec 2019 08:52:39 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 5753D1F5 for ; Thu, 19 Dec 2019 08:52:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2019 23:52:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,330,1571727600"; d="scan'208";a="241066710" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 18 Dec 2019 23:52:37 -0800 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Dec 2019 23:52:37 -0800 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Dec 2019 23:52:37 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.19]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.164]) with mapi id 14.03.0439.000; Thu, 19 Dec 2019 15:52:35 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V2]flow_filtering: check where flow launched normally Thread-Index: AQHVrna2yyR5qcp4W06qdOj5vNdfjqfBJZaw Date: Thu, 19 Dec 2019 07:52:34 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB89889@SHSMSX101.ccr.corp.intel.com> References: <1575885220-222176-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1575885220-222176-1-git-send-email-qimaix.xiao@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.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDdjNTBmNzQtNTc5Ni00OThhLTllOTUtNDFmYzBjMjUzNWZhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieTJZYzlWNGJlSjVhclM2V0JBelZnWndjTDEyRU9cL2U2OHFYNmtlQyt3OStJdnkwYkRibEVxeHhxc254QjM0aEQifQ== 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 V2]flow_filtering: check where flow launched normally 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 Xiao Qimai > Sent: Monday, December 9, 2019 5:54 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V2]flow_filtering: check where flow launched normal= ly >=20 > verify whether flow get up normally >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_flow_filtering.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_flow_filtering.py > b/tests/TestSuite_flow_filtering.py > index 80f5d86..29ae1ed 100644 > --- a/tests/TestSuite_flow_filtering.py > +++ b/tests/TestSuite_flow_filtering.py > @@ -58,7 +58,8 @@ class TestFlowFiltering(TestCase): > """ > Run before each test case. > """ > - self.dut.send_expect("./examples/flow_filtering/build/flow -l 1 = -n 1", > "initializing port", 100) > + out =3D self.dut.send_command("./examples/flow_filtering/build/f= low -l > 1 -n 1", timeout=3D15) > + self.verify("Error" not in out, "flow launch failed") >=20 > def send_packet(self, pkg): > """ > -- > 2.17.1