[dts] [PATCH V1] tests/netmap_compat:fix timeout failed on i350
lu,peipei
peipeix.lu at intel.com
Mon Nov 6 08:47:16 CET 2017
fter running sniff packet command,need to add sleeping time.
Signed-off-by: lu,peipei <peipeix.lu at intel.com>
---
tests/TestSuite_netmap_compat.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_netmap_compat.py b/tests/TestSuite_netmap_compat.py
index 5225a27..ae5d83e 100644
--- a/tests/TestSuite_netmap_compat.py
+++ b/tests/TestSuite_netmap_compat.py
@@ -81,7 +81,7 @@ class TestNetmapCompat(TestCase):
self.rxItf = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[0]))
self.inst = sniff_packets(self.rxItf)
-
+ time.sleep(0.5)
self.scapy_send_packet()
out = self.get_tcpdump_package()
@@ -99,7 +99,7 @@ class TestNetmapCompat(TestCase):
self.rxItf = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[1]))
self.inst = sniff_packets(self.rxItf)
-
+ time.sleep(0.5)
self.scapy_send_packet()
out = self.get_tcpdump_package()
--
1.9.3
More information about the dts
mailing list