[V1] tests/i40_rss_input: update dts code for dpdk query RSS changes

Message ID 20230330031538.4050-1-weiyuanx.li@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/i40_rss_input: update dts code for dpdk query RSS changes |

Checks

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

Commit Message

Weiyuan Li March 30, 2023, 3:15 a.m. UTC
  According to dpdk commit f958bbe221 (app/testpmd: display RSS hash key of flow rule) modify the script adapt to this changes.

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

Comments

Tu, Lijuan March 30, 2023, 8:42 a.m. UTC | #1
On Thu, 30 Mar 2023 11:15:38 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> According to dpdk commit f958bbe221 (app/testpmd: display RSS hash key of flow rule) modify the script adapt to this changes.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>

Reviewed-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
  

Patch

diff --git a/tests/TestSuite_i40e_rss_input.py b/tests/TestSuite_i40e_rss_input.py
index 4a88af1b..716800d9 100644
--- a/tests/TestSuite_i40e_rss_input.py
+++ b/tests/TestSuite_i40e_rss_input.py
@@ -5743,7 +5743,7 @@  class TestI40ERssInput(TestCase):
             "testpmd> ",
         )
 
-        rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n types:\r\n  ([\s\S]+)"
+        rexp = r"flow query 0 (\d) rss\r\r\nRSS:\r\n queues: ([\S\s]+?)\r\n function: (\S+?)\r\n RSS key:\r\n [\s\S]+\r\n types:\r\n  ([\s\S]+)"
         out0 = self.dut.send_expect("flow query 0 0 rss", "testpmd> ")
         m0 = re.match(rexp, out0.strip())
         self.verify(