From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 89B6C5AB2 for ; Tue, 16 Aug 2016 08:17:51 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 15 Aug 2016 23:17:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,529,1464678000"; d="scan'208";a="1036242541" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 15 Aug 2016 23:17:49 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 15 Aug 2016 23:17:48 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.8]) with mapi id 14.03.0248.002; Tue, 16 Aug 2016 14:17:45 +0800 From: "Liu, Yong" To: xueqin.lin , "dts@dpdk.org" CC: "Lin, Xueqin" Thread-Topic: [dts][PATCH] tests_ftag: fix expected output time when striping port glort ID Thread-Index: AQHR94V4B4I7DhS+RE2/OHXPaaCZkKBLHIPQ Date: Tue, 16 Aug 2016 06:17:45 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E2226F0AA@SHSMSX103.ccr.corp.intel.com> References: <1471328009-15507-1-git-send-email-xlin15@shecgisg005.sh.intel.com> In-Reply-To: <1471328009-15507-1-git-send-email-xlin15@shecgisg005.sh.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODU2ZGY2YWYtNTIzNi00ZTJkLWI3NmMtZmQ1ZjllMjQ2M2M0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InhBNUJHajlaNW5LeVlDazV2eTJjZmRcLzRzcmJNdExsUTFPUTAwYVwvZ2p4Yz0ifQ== x-ctpclassification: CTP_IC 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] tests_ftag: fix expected output time when striping port glort ID 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, 16 Aug 2016 06:17:52 -0000 Hi Qin, your patch hasn't been merged, so you need to send out patch with a= ll the changes. > -----Original Message----- > From: xueqin.lin [mailto:xlin15@ecsmtp.sh.intel.com] > Sent: Tuesday, August 16, 2016 2:13 PM > To: Liu, Yong; dts@dpdk.org > Cc: Lin, Xueqin > Subject: [dts][PATCH] tests_ftag: fix expected output time when striping > port glort ID >=20 > From: Xueqin Lin >=20 > It is impossible to wait some long time for expected output, just fix as > default value. >=20 >=20 > diff --git a/nics/rrc.py b/nics/rrc.py > index 62dc8d2..a6ac175 100644 > --- a/nics/rrc.py > +++ b/nics/rrc.py > @@ -259,7 +259,7 @@ class RedRockCanyou(NetDevice): > return None > else: > port_value =3D res.group(2) > - out =3D self.ctrl_crb.send_expect("show stacking logical-port al= l", > "<0>%",10000) > + out =3D self.ctrl_crb.send_expect("show stacking logical-port al= l", > "<0>%") > pattern =3D r"([0-9a-z]{6})+(\s)+(%s)+" %port_value > s =3D re.compile(pattern) > res =3D s.search(out) > -- > 2.5.5