* [dts] [PATCH V1] tests/fdir:Increase latency
@ 2019-07-05 5:48 chen,bo
2019-07-05 6:19 ` Chen, Zhaoyan
0 siblings, 1 reply; 2+ messages in thread
From: chen,bo @ 2019-07-05 5:48 UTC (permalink / raw)
To: dts; +Cc: chen,bo
Increase latency to wait for testpmd configuration to take effect.
Signed-off-by: chen,bo <box.c.chen@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] tests/fdir:Increase latency
2019-07-05 5:48 [dts] [PATCH V1] tests/fdir:Increase latency chen,bo
@ 2019-07-05 6:19 ` Chen, Zhaoyan
0 siblings, 0 replies; 2+ messages in thread
From: Chen, Zhaoyan @ 2019-07-05 6:19 UTC (permalink / raw)
To: Chen, BoX C, dts; +Cc: Chen, BoX C, Chen, Zhaoyan
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@dpdk.org] On Behalf Of chen,bo
Sent: Friday, July 5, 2019 1:48 PM
To: dts@dpdk.org
Cc: Chen, BoX C <box.c.chen@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@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-05 6:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05 5:48 [dts] [PATCH V1] tests/fdir:Increase latency chen,bo
2019-07-05 6:19 ` Chen, Zhaoyan
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).