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 707A8A0487 for ; Wed, 3 Jul 2019 03:30:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 48BF51B993; Wed, 3 Jul 2019 03:30:34 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 148BD1B974 for ; Wed, 3 Jul 2019 03:30:32 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jul 2019 18:30:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,445,1557212400"; d="scan'208";a="168979897" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga006.jf.intel.com with ESMTP; 02 Jul 2019 18:30:31 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 2 Jul 2019 18:30:31 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 2 Jul 2019 18:30:31 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 2 Jul 2019 18:30:31 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by shsmsx102.ccr.corp.intel.com ([169.254.2.3]) with mapi id 14.03.0439.000; Wed, 3 Jul 2019 09:30:29 +0800 From: "Wan, Zhe" To: "Mo, YufengX" , "dts@dpdk.org" Thread-Topic: [dts][PATCH V1]tests/keep_alive: fix wrong output message Thread-Index: AQHVMK7lE9VmWumgMU6aV3itaG0Ko6a3AnNwgAEZXEA= Date: Wed, 3 Jul 2019 01:30:28 +0000 Message-ID: <861C16A15685B44AA870C0D2A97B604589824A71@SHSMSX101.ccr.corp.intel.com> References: <1562055634-176278-1-git-send-email-yufengx.mo@intel.com> <1562055634-176278-2-git-send-email-yufengx.mo@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmEwNmZkZTItNGE0ZC00YjE0LTk3MzEtYWIxNjRjZTcwZDU1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiUU4wZkU5ZWM2MU43eGs2S0pWblhmdncwZmJqdVFcLys3dWdXNlg3SUUzWkw3bExxY0lLZEgxRkoydkNhYVFOMTUifQ== dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action 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]tests/keep_alive: fix wrong output message 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" Acked-by: Wan, Zhe > -----Original Message----- > From: Mo, YufengX > Sent: Tuesday, July 2, 2019 4:21 PM > To: dts@dpdk.org > Cc: Mo, YufengX > Subject: [dts][PATCH V1]tests/keep_alive: fix wrong output message >=20 >=20 > fix wrong output message format in test case test_keep_alive. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_keep_alive.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_keep_alive.py=20 > b/tests/TestSuite_keep_alive.py index e29ea8b..d9fc9b2 100644 > --- a/tests/TestSuite_keep_alive.py > +++ b/tests/TestSuite_keep_alive.py > @@ -79,7 +79,7 @@ class TestKeepAlive(TestCase): > p =3D re.compile(r'\d+') > result =3D p.findall(out) > amount =3D 2000 * len(self.dut_ports) > - self.verify(str(amount) in result, "Wrong: can't get <%s> packag= e") > + self.verify(str(amount) in result, "Wrong: can't get <%d>=20 > + package" % amount) >=20 > def scapy_send_packet(self,nu): > """ > -- > 1.9.3