[dts] [PATCH V1] tests/fdir:Increase latency
Chen, Zhaoyan
zhaoyan.chen at intel.com
Fri Jul 5 08:19:22 CEST 2019
scapyCmds.append() just appends string into a list.
Why it need a "sleep" ? Since there is no async remote operation.
-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of chen,bo
Sent: Friday, July 5, 2019 1:48 PM
To: dts at dpdk.org
Cc: Chen, BoX C <box.c.chen at intel.com>
Subject: [dts] [PATCH V1] tests/fdir:Increase latency
Increase latency to wait for testpmd configuration to take effect.
Signed-off-by: chen,bo <box.c.chen at intel.com>
---
tests/TestSuite_fdir.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py index 14cc5c9..45e0a87 100644
--- a/tests/TestSuite_fdir.py
+++ b/tests/TestSuite_fdir.py
@@ -86,6 +86,7 @@ class TestFdir(TestCase, IxiaPacketGenerator):
Send packages and verify behavior.
"""
self.scapyCmds.append(packet)
+ time.sleep(3)
self.dut.send_expect("start", "testpmd>")
self.scapy_execute()
time.sleep(.5)
--
2.17.2
More information about the dts
mailing list