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

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


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

diff --git a/tests/TestSuite_keep_alive.py b/tests/TestSuite_keep_alive.py
index 7bee4f03..4d350d79 100644
--- a/tests/TestSuite_keep_alive.py
+++ b/tests/TestSuite_keep_alive.py
@@ -67,8 +67,9 @@ class TestKeepAlive(TestCase):
     def test_keep_alive(self):
         """
         Verify netmap compatibility with one port 
-        """ 
-        cmd = self.app_l2fwd_keepalive_path + " -c f -n 4 -- -q 8 -p ffff -K 10"
+        """
+        eal_para = self.dut.create_eal_parameters(cores=list(range(4)))
+        cmd = self.app_l2fwd_keepalive_path + " %s -- -q 8 -p ffff -K 10" % eal_para
       
         self.dut.send_expect(cmd,"Port statistics",60)
 
-- 
2.17.1



More information about the dts mailing list