[dts] [PATCH V2] tests/ipfrag:Modify the value to get the core.

zhu,shuai shuaix.zhu at intel.com
Thu Jan 24 06:41:22 CET 2019


Some platforms have only one socket, so use the minimum core number.

Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
---
 tests/TestSuite_ipfrag.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_ipfrag.py b/tests/TestSuite_ipfrag.py
index 3a9ffb8..9f47a2c 100644
--- a/tests/TestSuite_ipfrag.py
+++ b/tests/TestSuite_ipfrag.py
@@ -92,7 +92,7 @@ class TestIpfrag(TestCase):
         self.ports_socket = self.dut.get_numa_id(ports[0])
 
         # Verify that enough threads are available
-        cores = self.dut.get_core_list("2S/2C/2T")
+        cores = self.dut.get_core_list("1S/1C/1T")
         self.verify(cores is not None, "Insufficient cores for speed testing")
 
         global P0, P1
-- 
2.17.2



More information about the dts mailing list