[V1,2/2] tests/ice_rss_configure: add 2 cases

Message ID 20221009161433.22138-2-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers
Series [V1,1/2] test_plans/ice_rss_configure: add 2 cases |

Checks

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

Commit Message

Jiale, SongX Oct. 9, 2022, 4:14 p.m. UTC
  add a case to test rss config none.
add a case to test default rss command line.

Signed-off-by: Song Jiale <songx.jiale@intel.com>
---
 tests/TestSuite_ice_rss_configure.py | 8 ++++++++
 1 file changed, 8 insertions(+)
  

Comments

Tu, Lijuan Oct. 10, 2022, 3:36 a.m. UTC | #1
On Sun,  9 Oct 2022 16:14:33 +0000, Song Jiale <songx.jiale@intel.com> wrote:
> add a case to test rss config none.
> add a case to test default rss command line.
> 
> Signed-off-by: Song Jiale <songx.jiale@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
  

Patch

diff --git a/tests/TestSuite_ice_rss_configure.py b/tests/TestSuite_ice_rss_configure.py
index 8cc41bf0..c0f73c82 100644
--- a/tests/TestSuite_ice_rss_configure.py
+++ b/tests/TestSuite_ice_rss_configure.py
@@ -334,6 +334,10 @@  class RSSConfigureTest(TestCase):
         self.launch_testpmd(line_option="--disable-rss")
         self.rsspro.handle_rss_distribute_cases(command_line_option_disable_rss)
 
+    def test_command_line_option_rss_default(self):
+        self.launch_testpmd()
+        self.rsspro.handle_rss_distribute_cases(command_line_option_rss_ip)
+
     def test_rss_configure_to_ip(self):
         self.launch_testpmd(rss_type="ip")
         self.rsspro.handle_rss_distribute_cases(rss_configure_to_ip)
@@ -358,6 +362,10 @@  class RSSConfigureTest(TestCase):
         self.launch_testpmd(rss_type="default")
         self.rsspro.handle_rss_distribute_cases(rss_configure_to_default)
 
+    def test_rss_configure_to_none(self):
+        self.launch_testpmd(rss_type="none")
+        self.rsspro.handle_rss_distribute_cases(command_line_option_disable_rss)
+
     def tear_down(self):
         """
         Run after each test case.