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 D981AA0525; Mon, 20 Jan 2020 09:03:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7DAB91515; Mon, 20 Jan 2020 09:03:02 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 392021252 for ; Mon, 20 Jan 2020 09:03:01 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jan 2020 00:02:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,341,1574150400"; d="scan'208";a="426657656" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga006.fm.intel.com with ESMTP; 20 Jan 2020 00:02:59 -0800 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jan 2020 00:02:59 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jan 2020 00:02:59 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.30]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.55]) with mapi id 14.03.0439.000; Mon, 20 Jan 2020 16:02:56 +0800 From: "Tu, Lijuan" To: "Xie, WeiX" , "dts@dpdk.org" CC: "Xie, WeiX" Thread-Topic: [dts] [PATCH V1] tests/vm_hotplug:str transfer int Thread-Index: AQHVz170WdSlWjJ9s0W0n5o4TavDx6fzMUig Date: Mon, 20 Jan 2020 08:02:55 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBADC24@SHSMSX101.ccr.corp.intel.com> References: <1579503790-130876-1-git-send-email-weix.xie@intel.com> In-Reply-To: <1579503790-130876-1-git-send-email-weix.xie@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-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/vm_hotplug:str transfer int 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 > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xie Wei > Sent: Monday, January 20, 2020 3:03 PM > To: dts@dpdk.org > Cc: Xie, WeiX > Subject: [dts] [PATCH V1] tests/vm_hotplug:str transfer int >=20 > Signed-off-by: Xie Wei > --- > tests/TestSuite_vm_hotplug.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_vm_hotplug.py b/tests/TestSuite_vm_hotplug.p= y > index 276a0b8..3b79417 100644 > --- a/tests/TestSuite_vm_hotplug.py > +++ b/tests/TestSuite_vm_hotplug.py > @@ -274,7 +274,7 @@ class TestVmHotplug(TestCase): > out =3D self.get_tcpdump_package(iface_list) > for pkt_num in out: > # rule out miscellaneous package possibility > - self.verify(pkt_num > 1000, 'vf send packet fail') > + self.verify(int(pkt_num) > 1000, 'vf send packet fail') >=20 > def check_vf_device(self, has_device=3DTrue, device=3D1): > time.sleep(1) > -- > 2.17.2