[dts] [PATCH V1 1/6] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change
Jiale Song
songx.jiale at intel.com
Fri Oct 29 08:18:24 CEST 2021
dpdk invalid port create rule echo change
dpdk commit: 1179f05cc9a044541106981b0366f474043d7872
Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
.../cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst | 2 +-
tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst
mode change 100644 => 100755 tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
diff --git a/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst b/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst
old mode 100644
new mode 100755
index b9229f19..34f97ed9
--- a/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst
+++ b/test_plans/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst
@@ -1142,7 +1142,7 @@ Subcase 5: invalid port
Failed to create flow, report message::
- No such device: No such device
+ Invalid port 1
2. check the rule list on port 0::
diff --git a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
old mode 100644
new mode 100755
index df2f8d58..02da01e0
--- a/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
+++ b/tests/TestSuite_cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp.py
@@ -992,7 +992,7 @@ class Cvl_advance_iavf_rss_vlan_ah_l2tp_pfcp(TestCase):
def test_invalid_port(self):
rule = 'flow create 1 ingress pattern eth / ipv4 / udp / pfcp / end actions rss types pfcp end key_len 0 queues end / end'
- self.rsspro.create_rule(rule, check_stats=False, msg='No such device')
+ self.rsspro.create_rule(rule, check_stats=False, msg='Invalid port 1')
self.rsspro.check_rule(stats=False, rule_list=[rule])
pattern = 'Invalid port 1'
out = self.dut.send_command("flow list 1", timeout=1)
--
2.17.1
More information about the dts
mailing list