test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] tests/ipfrag:Modify the value to get the core.
@ 2019-01-24  5:41 zhu,shuai
  2019-01-24  8:18 ` Wu, ChangqingX
  2019-01-25  5:24 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: zhu,shuai @ 2019-01-24  5:41 UTC (permalink / raw)
  To: dts; +Cc: zhu,shuai

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

Signed-off-by: zhu,shuai <shuaix.zhu@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-25  5:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24  5:41 [dts] [PATCH V2] tests/ipfrag:Modify the value to get the core zhu,shuai
2019-01-24  8:18 ` Wu, ChangqingX
2019-01-25  5:24 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).