[V1] ice_advanced_rss_pppoe:add check result after deleting the rules
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 |
warning
|
SKIPPED
|
Commit Message
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(-)
Comments
On Fri, 24 Jun 2022 04:01:50 +0800, Zhimin Huang <zhiminx.huang@intel.com> wrote:
> add test steps about after delete rule.
>
> Signed-off-by: Zhimin Huang <zhiminx.huang@intel.com>
Applied, thanks
@@ -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
@@ -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,