* [dts] [PATCH V1] tests/rxtx_callbacks:fix rxtx_callbacks failed on i350
@ 2017-11-06 7:34 lu,peipei
0 siblings, 0 replies; only message in thread
From: lu,peipei @ 2017-11-06 7:34 UTC (permalink / raw)
To: dts; +Cc: lu,peipei
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-06 7:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06 7:34 [dts] [PATCH V1] tests/rxtx_callbacks:fix rxtx_callbacks failed on i350 lu,peipei
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).