test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jianwei Mei <jianweix.mei@intel.com>
To: dts@dpdk.org
Cc: Jianwei Mei <jianweix.mei@intel.com>
Subject: [dts] [PATCH V1] tests/cvl_switch_filter:update class name and instance Packet class
Date: Mon, 27 Jul 2020 18:33:11 +0000	[thread overview]
Message-ID: <20200727183311.18274-1-jianweix.mei@intel.com> (raw)

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 <jianweix.mei@intel.com>
---
 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):
         """
-- 
2.17.1


             reply	other threads:[~2020-07-27 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-27 18:33 Jianwei Mei [this message]
2020-07-29  8:20 ` Lu, Nannan
2020-08-12  5:58 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200727183311.18274-1-jianweix.mei@intel.com \
    --to=jianweix.mei@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).