[08/28] tests/TestSuite_keep_alive:Modify the hard coded app parameter to call the platform interface
Message ID | 20201208100627.9792-9-junx.w.zhou@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | |
Series | Modify the hard coded app parameter to call the platform interface | |
Commit Message
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)