[V1,2/2] tests/multicast: optimization script and remove 1S/1C/2T

Message ID 20221115072606.265640-2-weiyuanx.li@intel.com (mailing list archive)
State Accepted
Headers
Series [V1,1/2] tests/ipfrag: optimization script and remove 1S/1C/2T |

Checks

Context Check Description
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test success Testing OK
ci/Intel-dts-format-test success Testing OK

Commit Message

Weiyuan Li Nov. 15, 2022, 7:26 a.m. UTC
  "1S/1C/2T" is not a requirement for function test. Remove it in the script.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_multicast.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Comments

Tu, Lijuan Nov. 18, 2022, 8:46 a.m. UTC | #1
On Tue, 15 Nov 2022 15:26:06 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> "1S/1C/2T" is not a requirement for function test. Remove it in the script.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>


Series applied, thanks
  

Patch

diff --git a/tests/TestSuite_multicast.py b/tests/TestSuite_multicast.py
index f8a8e727..ffcd564c 100644
--- a/tests/TestSuite_multicast.py
+++ b/tests/TestSuite_multicast.py
@@ -46,9 +46,8 @@  class TestMulticast(TestCase):
         dutPorts = self.dut.get_ports(self.nic)
         # Verify that enough ports are available
         self.verify(len(dutPorts) >= 4, "Insufficient ports for testing")
-
         # Verify that enough threads are available
-        cores = self.dut.get_core_list("1S/2C/2T")
+        cores = self.dut.get_core_list("1S/1C/1T")
         self.verify(cores is not None, "Insufficient cores for speed testing")
 
         global P1, P3, TG0, TG1, TGs