[dts] [PATCH V1] tests/unit_tests_eal: modify cores for hash_readwrite_perf_autotest

Jiang,yu yux.jiang at intel.com
Wed Feb 19 09:07:41 CET 2020


hash_readwrite_perf_autotest need at least 3 cores to test

Signed-off-by: Jiang,yu <yux.jiang at intel.com>
---
 tests/TestSuite_unit_tests_eal.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index bd1696b..9c80663 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -191,7 +191,7 @@ class TestUnitTestsEal(TestCase):
         Run hash readwrite perf autotest.
         """
 
-        eal_params = self.dut.create_eal_parameters()
+        eal_params = self.dut.create_eal_parameters(cores='1S/4C/1T')
         self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params),
                              "R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("hash_readwrite_perf_autotest",
-- 
1.9.3



More information about the dts mailing list