test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_scatter.py tests/TestSuite_shutdown_api.py add sagepond, sageville in nic list for 2 cases
@ 2018-07-26  8:01 wenjieli
  0 siblings, 0 replies; only message in thread
From: wenjieli @ 2018-07-26  8:01 UTC (permalink / raw)
  To: dts; +Cc: wenjieli

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-26  8:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26  8:01 [dts] [PATCH V1] tests/TestSuite_scatter.py tests/TestSuite_shutdown_api.py add sagepond, sageville in nic list for 2 cases wenjieli

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).