From patchwork Mon Jul 27 18:33:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Mei, JianweiX" X-Patchwork-Id: 74844 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 737D9A0524; Mon, 27 Jul 2020 12:00:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A5381BFE9; Mon, 27 Jul 2020 12:00:39 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id BDB4D1BFE8 for ; Mon, 27 Jul 2020 12:00:37 +0200 (CEST) IronPort-SDR: Nyh+ABPX37NcgLstp0UIVKaJqowJnYLOg2+vPBn21ZitJH8sESKt9OESsVNM9DgCxdTiKf8PpU rz2Rd2GfEckg== X-IronPort-AV: E=McAfee;i="6000,8403,9694"; a="150163042" X-IronPort-AV: E=Sophos;i="5.75,402,1589266800"; d="scan'208";a="150163042" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 03:00:36 -0700 IronPort-SDR: UJwX9XUisXX9Gf5U6Eoq0WcH+r2VhWc7kl+4UvUxu9gdf35Zqitl+Y1l/tuVdEetsf1sPUri+v mKE57jCE/o5g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,402,1589266800"; d="scan'208";a="393937628" Received: from unknown (HELO localhost.localdomain) ([10.240.183.106]) by fmsmga001.fm.intel.com with ESMTP; 27 Jul 2020 03:00:35 -0700 From: Jianwei Mei To: dts@dpdk.org Cc: Jianwei Mei Date: Mon, 27 Jul 2020 18:33:11 +0000 Message-Id: <20200727183311.18274-1-jianweix.mei@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/cvl_switch_filter:update class name and instance Packet class X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" 1. Suite TestSuite_cvl_dcf_switch_filter.py and TestSuite_cvl_switch_filter.py have the same class name, lead to logs generated in one log file. 2. Class packet have not instantiated. Signed-off-by: Jianwei Mei Acked-by: Nannan Lu --- tests/TestSuite_cvl_switch_filter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_cvl_switch_filter.py b/tests/TestSuite_cvl_switch_filter.py index 01a2842..5dc7d21 100644 --- a/tests/TestSuite_cvl_switch_filter.py +++ b/tests/TestSuite_cvl_switch_filter.py @@ -2487,7 +2487,7 @@ tvs_mac_ipv6_tcp_non_pipeline_mode = [ test_results = OrderedDict() -class SwitchFilterTest(TestCase): +class CVLSwitchFilterTest(TestCase): def set_up_all(self): """ @@ -2506,6 +2506,7 @@ class SwitchFilterTest(TestCase): src_file = 'dep/testpmd_cmds_rte_flow_fdir_rules' self.dut_file_dir = '/tmp' self.dut.session.copy_file_to(src_file, self.dut_file_dir) + self.pkt = Packet() def set_up(self): """