[V3,1/6] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change

Message ID 1636606989-164305-1-git-send-email-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers
Series [V3,1/6] tests/cvl_advanced_iavf_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change |

Commit Message

Jiale, SongX Nov. 11, 2021, 5:03 a.m. UTC
  dpdk invalid port create rule echo change

According to dpdk commit 1179f05cc9a0 ("ethdev: query proxy port to manage transfer flows")

Signed-off-by: Jiale Song <songx.jiale@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(-)
  

Patch

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
index b9229f19..34f97ed9 100644
--- 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
index df2f8d58..02da01e0 100644
--- 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)