[dts] [PATCH V1] tests/rxtx_callbacks:fix rxtx_callbacks failed on i350
lu,peipei
peipeix.lu at intel.com
Mon Nov 6 08:34:52 CET 2017
After running sniff packet command,need to add sleeping time.
Signed-off-by: lu,peipei <peipeix.lu at 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
More information about the dts
mailing list