test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] ice_advanced_rss_pppoe:add check result after deleting the rules
@ 2022-06-23 20:01 Zhimin Huang
  2022-06-23 20:01 ` [dts][PATCH V2] test_plans/ice_advanced_iavf_rss:add lost case in testplan Zhimin Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Zhimin Huang @ 2022-06-23 20:01 UTC (permalink / raw)
  To: dts; +Cc: Zhimin Huang

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


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

end of thread, other threads:[~2022-06-29  2:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 20:01 [dts][PATCH V1] ice_advanced_rss_pppoe:add check result after deleting the rules Zhimin Huang
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

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).