* [dts] [PATCH V1] tests/netmap_compat:fix timeout failed on i350
@ 2017-10-30 8:09 lu,peipei
0 siblings, 0 replies; 2+ messages in thread
From: lu,peipei @ 2017-10-30 8:09 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_netmap_compat.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_netmap_compat.py b/tests/TestSuite_netmap_compat.py
index 5225a27..c264e38 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(5)
self.scapy_send_packet()
out = self.get_tcpdump_package()
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* [dts] [PATCH V1] tests/netmap_compat:fix timeout failed on i350
@ 2017-11-06 7:47 lu,peipei
0 siblings, 0 replies; 2+ messages in thread
From: lu,peipei @ 2017-11-06 7:47 UTC (permalink / raw)
To: dts; +Cc: lu,peipei
fter running sniff packet command,need to add sleeping time.
Signed-off-by: lu,peipei <peipeix.lu@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-06 7:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-30 8:09 [dts] [PATCH V1] tests/netmap_compat:fix timeout failed on i350 lu,peipei
2017-11-06 7:47 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).