[dts] [dts 21/28] tests/TestSuite_queue_start_stop:Modify the hard coded app parameter to call the platform interface

Zhou Jun junx.w.zhou at intel.com
Tue Dec 8 11:06:20 CET 2020


Signed-off-by: Zhou Jun <junx.w.zhou at intel.com>
---
 tests/TestSuite_queue_start_stop.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_queue_start_stop.py b/tests/TestSuite_queue_start_stop.py
index 77b25607..75718c8c 100644
--- a/tests/TestSuite_queue_start_stop.py
+++ b/tests/TestSuite_queue_start_stop.py
@@ -130,8 +130,9 @@ class TestQueueStartStop(TestCase):
         queue start/stop test
         """
         #dpdk start
+        eal_para = self.dut.create_eal_parameters()
         try:
-            self.dut.send_expect("%s -c 0xf -n 4 -- -i --portmask=0x1 --port-topology=loop" % self.app_testpmd_path, "testpmd>", 120)
+            self.dut.send_expect("%s %s -- -i --portmask=0x1 --port-topology=loop" % (self.app_testpmd_path, eal_para), "testpmd>", 120)
             time.sleep(5)
             self.dut.send_expect("set fwd mac", "testpmd>")
             self.dut.send_expect("start", "testpmd>")
-- 
2.17.1



More information about the dts mailing list