[dts] [PATCH V1] tests/TestSuite_scatter.py tests/TestSuite_shutdown_api.py add sagepond, sageville in nic list for 2 cases
wenjieli
wenjiex.a.li at intel.com
Thu Jul 26 10:01:47 CEST 2018
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 at 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
More information about the dts
mailing list