From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 25724A0547; Fri, 29 Oct 2021 08:32:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FF1D410E0; Fri, 29 Oct 2021 08:32:55 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 0EE2140395 for ; Fri, 29 Oct 2021 08:32:53 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10151"; a="211370573" X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="211370573" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:40 -0700 X-IronPort-AV: E=Sophos;i="5.87,191,1631602800"; d="scan'208";a="487459727" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2021 23:18:38 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Fri, 29 Oct 2021 14:18:25 +0800 Message-Id: <1635488309-118246-2-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> References: <1635488309-118246-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V1 2/6] tests/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp: update case code for dpdk code change X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" dpdk invalid port create rule echo change dpdk commit: 1179f05cc9a044541106981b0366f474043d7872 Signed-off-by: Jiale Song --- 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(-) mode change 100644 => 100755 test_plans/cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp_test_plan.rst mode change 100644 => 100755 tests/TestSuite_cvl_advanced_rss_vlan_esp_ah_l2tp_pfcp.py 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 old mode 100644 new mode 100755 index bc2db466..d1f0ddbe --- 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 old mode 100644 new mode 100755 index 975de56f..da5cac84 --- 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