test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
To: dts@dpdk.org
Cc: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data
Date: Fri, 25 Oct 2019 04:37:40 +0800	[thread overview]
Message-ID: <20191024203740.1685-1-xiaoxiaox.zeng@intel.com> (raw)

*.add timeout in load_tcpdump_sniff_packets

Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
---
 tests/TestSuite_l3fwdacl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py
index dce37de..9864404 100644
--- a/tests/TestSuite_l3fwdacl.py
+++ b/tests/TestSuite_l3fwdacl.py
@@ -342,7 +342,7 @@ class TestL3fwdacl(TestCase):
         return len(out)
 
     def remove_dhcp_from_revpackets(self, inst):
-        p = self.tester.load_tcpdump_sniff_packets(inst)
+        p = self.tester.load_tcpdump_sniff_packets(inst,timeout=5)
         pkts = p.pktgen.pkts
         i = 0
         while len(pkts) != 0 and i <= len(pkts) - 1:
-- 
2.17.0


             reply	other threads:[~2019-10-24  8:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-24 20:37 Xiaoxiao Zeng [this message]
2019-11-04  3:01 ` Tu, Lijuan

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=20191024203740.1685-1-xiaoxiaox.zeng@intel.com \
    --to=xiaoxiaox.zeng@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).