test suite reviews and discussions
 help / color / mirror / Atom feed
From: wenjieli <wenjiex.a.li@intel.com>
To: dts@dpdk.org
Cc: wenjieli <wenjiex.a.li@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_scatter.py tests/TestSuite_shutdown_api.py add sagepond, sageville in nic list for 2 cases
Date: Thu, 26 Jul 2018 16:01:47 +0800	[thread overview]
Message-ID: <1532592107-98637-1-git-send-email-wenjiex.a.li@intel.com> (raw)

tests/TestSuite_scatter.py 
set_up_all(): 
add sagepond nic in line 69 to set self.mbsize = 2048.

tests/TestSuite_shutdown_api.py 
test_enable_disablejumbo(): 
add sageville, sagepond nic in line 349, since the nic's vlan length will not be calculated. 

Signed-off-by: wenjieli <wenjiex.a.li@intel.com>
---
 tests/TestSuite_scatter.py      | 2 +-
 tests/TestSuite_shutdown_api.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_scatter.py b/tests/TestSuite_scatter.py
index d9b85b8..d6aef49 100644
--- a/tests/TestSuite_scatter.py
+++ b/tests/TestSuite_scatter.py
@@ -66,7 +66,7 @@ class TestScatter(TestCase):
         if self.nic in ["magnolia_park", "niantic", "sageville", "fortpark", "fortville_eagle",
                         "fortville_spirit", "fortville_spirit_single", "fortville_25g",
                         "redrockcanyou", "atwood", "boulderrapid",
-                        "ironpond", "twinpond", "springfountain", "fortpark_TLV"]:
+                        "ironpond", "twinpond", "springfountain", "fortpark_TLV", "sagepond"]:
             self.mbsize = 2048
         else:
             self.mbsize = 1024
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 8b6de18..d00c3fb 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -346,7 +346,7 @@ class TestShutdownApi(TestCase):
             self.dut.send_expect("port start all", "testpmd> ", 100)
             self.dut.send_expect("start", "testpmd> ")
 
-            if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville']:
+            if self.nic in ['magnolia_park', 'niantic', 'twinpond', 'kawela_4', 'ironpond', 'springfountain', 'springville', 'powerville', 'sageville', 'sagepond']:
                 # nantic vlan length will not be calculated
                 vlan_jumbo_size = jumbo_size + 4
             else:
-- 
1.9.3

                 reply	other threads:[~2018-07-26  8:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1532592107-98637-1-git-send-email-wenjiex.a.li@intel.com \
    --to=wenjiex.a.li@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).