[dts] [PATCH V1] tests/tests/TestSuite_flow_filtering:Modify the hard coded appparameter
Zhou Jun
junx.w.zhou at intel.com
Thu Dec 10 12:21:14 CET 2020
Signed-off-by: Zhou Jun <junx.w.zhou at intel.com>
---
tests/TestSuite_flow_filtering.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py
index 4e3c5440..7d089bc3 100644
--- a/tests/TestSuite_flow_filtering.py
+++ b/tests/TestSuite_flow_filtering.py
@@ -58,7 +58,8 @@ class TestFlowFiltering(TestCase):
"""
Run before each test case.
"""
- cmd = self.dut.apps_name['flow_filtering'] + "-l 1 -n 1"
+ self.eal_para = self.dut.create_eal_parameters(cores=[1])
+ cmd = self.dut.apps_name['flow_filtering'] + self.eal_para
out = self.dut.send_command(cmd, timeout=15)
self.verify("Error" not in out, "flow launch failed")
--
2.17.1
More information about the dts
mailing list