[dts] [PATCH V2 2/6] tests/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change

Jiale Song songx.jiale at intel.com
Tue Nov 9 10:40:20 CET 2021


Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst | 2 +-
 tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst b/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst
index bc2db466..d1f0ddbe 100644
--- a/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst
+++ b/test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst
@@ -1288,7 +1288,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_rss_vlan_esp_ah_l2tp_pfcp.py b/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py
index 975de56f..da5cac84 100644
--- a/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py
+++ b/tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py
@@ -968,7 +968,7 @@ class Advanced_rss_vlan_ah_l2tp_pfcp(TestCase):
     def test_invalid_port(self):
         self.switch_testpmd(symmetric=True)
         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