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 764DAA0C4B; Wed, 3 Nov 2021 03:50:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 710B44111D; Wed, 3 Nov 2021 03:50:16 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id E7C9D40E03 for ; Wed, 3 Nov 2021 03:50:14 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10156"; a="218327369" X-IronPort-AV: E=Sophos;i="5.87,204,1631602800"; d="scan'208";a="218327369" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 19:50:14 -0700 X-IronPort-AV: E=Sophos;i="5.87,204,1631602800"; d="scan'208";a="449630564" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 19:50:13 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 3 Nov 2021 10:49:57 +0800 Message-Id: <1635907800-164576-3-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1635907800-164576-1-git-send-email-songx.jiale@intel.com> References: <1635907800-164576-1-git-send-email-songx.jiale@intel.com> Subject: [dts] [PATCH V2 3/6] tests/cvl_fdir: 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" Signed-off-by: Jiale Song --- test_plans/cvl_fdir_test_plan.rst | 4 ++-- tests/TestSuite_cvl_fdir.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst index b5052578..8e508d71 100644 --- a/test_plans/cvl_fdir_test_plan.rst +++ b/test_plans/cvl_fdir_test_plan.rst @@ -703,7 +703,7 @@ Note: there may be error message change. get the message:: - No such device: No such device + Invalid port 2 10. check the flow list:: @@ -3550,7 +3550,7 @@ Subcase 11: invalid port Failed to create flow, report message:: - No such device: No such device + Invalid port 2 2. check there is no rule listed on port 2:: diff --git a/tests/TestSuite_cvl_fdir.py b/tests/TestSuite_cvl_fdir.py index 75c3ba93..d0ed03bc 100644 --- a/tests/TestSuite_cvl_fdir.py +++ b/tests/TestSuite_cvl_fdir.py @@ -2759,7 +2759,7 @@ class TestCVLFdir(TestCase): # check_stats=False, check_msg='Bad arguments') self.validate_fdir_rule( 'flow validate 2 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 proto is 255 ttl is 2 tos is 4 / end actions queue index 1 / end', - check_stats=False, check_msg='No such device') + check_stats=False, check_msg='Invalid port 2') self.check_fdir_rule(stats=False) def test_mac_ipv4_pay_protocal(self): @@ -2980,7 +2980,7 @@ class TestCVLFdir(TestCase): def test_invalid_port(self): rule = "flow create 2 ingress pattern eth dst is 00:11:22:33:44:55 / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / end actions queue index 1 / end" - self.create_fdir_rule(rule, check_stats=False, msg="No such device: No such device") + self.create_fdir_rule(rule, check_stats=False, msg="Invalid port 2") out = self.pmd_output.execute_cmd("flow list 2") self.verify("Invalid port 2" in out, "expect Invalid port 2 in %s" % out) -- 2.17.1