test suite reviews and discussions
 help / color / mirror / Atom feed
From: Zhimin Huang <zhiminx.huang@intel.com>
To: dts@dpdk.org
Cc: Zhimin Huang <zhiminx.huang@intel.com>
Subject: [dts][PATCH V1] ice_advanced_rss_pppoe:add check result after deleting the rules
Date: Fri, 24 Jun 2022 04:01:50 +0800	[thread overview]
Message-ID: <20220623200153.6607-1-zhiminx.huang@intel.com> (raw)

add test steps about after delete rule.

Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
---
 test_plans/ice_advanced_rss_pppoe_test_plan.rst | 8 +++++---
 tests/TestSuite_ice_advanced_rss_pppoe.py       | 3 +++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/test_plans/ice_advanced_rss_pppoe_test_plan.rst b/test_plans/ice_advanced_rss_pppoe_test_plan.rst
index 400f3a71..0b64cc79 100644
--- a/test_plans/ice_advanced_rss_pppoe_test_plan.rst
+++ b/test_plans/ice_advanced_rss_pppoe_test_plan.rst
@@ -4621,12 +4621,14 @@ Subcase 3: two rules, scope smaller created first, and the larger one created la
      testpmd> flow destroy 0 rule 1
      testpmd> flow list 0
 
-   check the rule 1 not exists in the list.
+   check the rule 1 not exists in the list, and repeat step 2
    destroy the rule 0::
 
      testpmd> flow destroy 0 rule 0
      testpmd> flow list 0
 
+   check not rule in the list, and send all pkts have no hash values.
+
 Subcase 4: two rules, scope larger created first, and the smaller one created later
 -----------------------------------------------------------------------------------
 
@@ -4679,10 +4681,10 @@ Subcase 4: two rules, scope larger created first, and the smaller one created la
      testpmd> flow destroy 0 rule 1
      testpmd> flow list 0
 
-   check the rule 1 not exists in the list.
+   check the rule 1 not exists in the list, and repeat step 2
    destroy the rule 0::
 
      testpmd> flow destroy 0 rule 0
      testpmd> flow list 0
 
-
+   check not rule in the list, and send all pkts have no hash values.
\ No newline at end of file
diff --git a/tests/TestSuite_ice_advanced_rss_pppoe.py b/tests/TestSuite_ice_advanced_rss_pppoe.py
index 59e48988..ebb644f6 100644
--- a/tests/TestSuite_ice_advanced_rss_pppoe.py
+++ b/tests/TestSuite_ice_advanced_rss_pppoe.py
@@ -5166,9 +5166,12 @@ class Advanced_rss_pppoe(TestCase):
         # destory rule 1
         self.rsspro.destroy_rule(rule_id=1)
         self.rsspro.check_rule(rule_list=["1"], stats=False)
+        pkt_list[1], pkt_list[2] = pkt_list[2], pkt_list[1]
+        self._send_pkt_action(pkt_list)
         # destory rule 0
         self.rsspro.destroy_rule(rule_id=0)
         self.rsspro.check_rule(rule_list=["0"], stats=False)
+        self._send_pkt_action(pkt_list, action_list=["check_no_hash"] * 3)
 
     def test_two_rules_smaller_first_larger_later(
         self,
-- 
2.17.1


             reply	other threads:[~2022-06-23 11:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-23 20:01 Zhimin Huang [this message]
2022-06-23 20:01 ` [dts][PATCH V2] test_plans/ice_advanced_iavf_rss:add lost case in testplan Zhimin Huang
2022-06-29  1:46   ` lijuan.tu
2022-06-23 20:01 ` [dts][PATCH V1] test_plans/ice_advanced_rss:add " Zhimin Huang
2022-06-29  1:47   ` lijuan.tu
2022-06-23 20:01 ` [dts][PATCH V1] tests/ice_advanced_rss_gtpu:optimized and spilt new case Zhimin Huang
2022-06-29  2:03   ` lijuan.tu
2022-06-29  1:46 ` [dts][PATCH V1] ice_advanced_rss_pppoe:add check result after deleting the rules lijuan.tu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220623200153.6607-1-zhiminx.huang@intel.com \
    --to=zhiminx.huang@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).