[V1] tests/tests/TestSuite_flow_filtering:Modify the hard coded appparameter

Message ID 20201210112114.21797-1-junx.w.zhou@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/tests/TestSuite_flow_filtering:Modify the hard coded appparameter |

Commit Message

Zhou, JunX W Dec. 10, 2020, 11:21 a.m. UTC
  Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_flow_filtering.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Tu, Lijuan Dec. 15, 2020, 5:50 a.m. UTC | #1
> Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>

Applied
  

Patch

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")