test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Chen, Zhaoyan" <zhaoyan.chen@intel.com>
To: "Chen, BoX C" <box.c.chen@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Chen, BoX C" <box.c.chen@intel.com>,
	"Chen, Zhaoyan" <zhaoyan.chen@intel.com>
Subject: Re: [dts] [PATCH V1] tests/fdir:Increase latency
Date: Fri, 5 Jul 2019 06:19:22 +0000	[thread overview]
Message-ID: <9DEEADBC57E43F4DA73B571777FECECA41D3D77B@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <1562305693-154737-1-git-send-email-box.c.chen@intel.com>

scapyCmds.append() just appends string into a list. 
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 <box.c.chen@intel.com>
Subject: [dts] [PATCH V1] tests/fdir:Increase latency

Increase latency to wait for testpmd configuration to take effect.

Signed-off-by: chen,bo <box.c.chen@intel.com>
---
 tests/TestSuite_fdir.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py index 14cc5c9..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


      reply	other threads:[~2019-07-05  6:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05  5:48 chen,bo
2019-07-05  6:19 ` Chen, Zhaoyan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9DEEADBC57E43F4DA73B571777FECECA41D3D77B@SHSMSX104.ccr.corp.intel.com \
    --to=zhaoyan.chen@intel.com \
    --cc=box.c.chen@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).