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 9D99FA0487 for ; Fri, 5 Jul 2019 08:19:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4590237AF; Fri, 5 Jul 2019 08:19:27 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 3BF1A2C5E for ; Fri, 5 Jul 2019 08:19:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jul 2019 23:19:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,454,1557212400"; d="scan'208";a="316009049" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga004.jf.intel.com with ESMTP; 04 Jul 2019 23:19:24 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 4 Jul 2019 23:19:24 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 4 Jul 2019 23:19:24 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.110]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.240]) with mapi id 14.03.0439.000; Fri, 5 Jul 2019 14:19:22 +0800 From: "Chen, Zhaoyan" To: "Chen, BoX C" , "dts@dpdk.org" CC: "Chen, BoX C" , "Chen, Zhaoyan" Thread-Topic: [dts] [PATCH V1] tests/fdir:Increase latency Thread-Index: AQHVMvaWM/CCZnJf/k2Orj6O/HjsX6a7jI2Q Date: Fri, 5 Jul 2019 06:19:22 +0000 Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41D3D77B@SHSMSX104.ccr.corp.intel.com> References: <1562305693-154737-1-git-send-email-box.c.chen@intel.com> In-Reply-To: <1562305693-154737-1-git-send-email-box.c.chen@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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/fdir:Increase latency 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" scapyCmds.append() just appends string into a list.=20 Why it need a "sleep" ? Since there is no async remote operation. -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of chen,bo Sent: Friday, July 5, 2019 1:48 PM To: dts@dpdk.org Cc: Chen, BoX C Subject: [dts] [PATCH V1] tests/fdir:Increase latency Increase latency to wait for testpmd configuration to take effect. Signed-off-by: chen,bo --- tests/TestSuite_fdir.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py index 14cc5c= 9..45e0a87 100644 --- a/tests/TestSuite_fdir.py +++ b/tests/TestSuite_fdir.py @@ -86,6 +86,7 @@ class TestFdir(TestCase, IxiaPacketGenerator): Send packages and verify behavior. """ self.scapyCmds.append(packet) + time.sleep(3) self.dut.send_expect("start", "testpmd>") self.scapy_execute() time.sleep(.5) -- 2.17.2