From: "lu,peipei" <peipeix.lu@intel.com>
To: dts@dpdk.org
Cc: "lu,peipei" <peipeix.lu@intel.com>
Subject: [dts] [PATCH V1] tests/rxtx_callbacks:fix rxtx_callbacks failed on i350
Date: Mon, 6 Nov 2017 15:34:52 +0800 [thread overview]
Message-ID: <1509953692-37320-1-git-send-email-peipeix.lu@intel.com> (raw)
After running sniff packet command,need to add sleeping time.
Signed-off-by: lu,peipei <peipeix.lu@intel.com>
---
tests/TestSuite_rxtx_callbacks.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_rxtx_callbacks.py b/tests/TestSuite_rxtx_callbacks.py
index dd968a4..85cca19 100644
--- a/tests/TestSuite_rxtx_callbacks.py
+++ b/tests/TestSuite_rxtx_callbacks.py
@@ -78,6 +78,8 @@ class TestRxtxCallbacks(TestCase):
self.iface_port1 = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[1]))
self.inst_port1 = sniff_packets(self.iface_port1)
+ time.sleep(0.5)
+
self.scapy_send_packet(self.iface_port0)
out_port1 = self.get_tcpdump_package(self.inst_port1)
--
1.9.3
reply other threads:[~2017-11-06 7:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1509953692-37320-1-git-send-email-peipeix.lu@intel.com \
--to=peipeix.lu@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).