[dts] [PATCH] tests/ddp_gtp: DDP GTP supports FVL, but not only 25G

Xueqin Lin xueqin.lin at intel.com
Tue Jan 8 06:44:16 CET 2019


From: "xueqin.lin" <xueqin.lin at intel.com>

Signed-off-by: Xueqin Lin <xueqin.lin at intel.com>

---
 tests/TestSuite_ddp_gtp.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_ddp_gtp.py b/tests/TestSuite_ddp_gtp.py
index 6b6f975..f6701c4 100644
--- a/tests/TestSuite_ddp_gtp.py
+++ b/tests/TestSuite_ddp_gtp.py
@@ -16,9 +16,8 @@ VM_CORES_MASK = 'all'
 class TestDdpGtp(TestCase):
 
     def set_up_all(self):
-        self.verify(
-            self.nic in ['fortville_25g'], 'ddp gtp can not support %s nic'
-            % self.nic)
+        self.verify('fortville' in self.nic,
+                    'ddp gtp can not support %s nic' % self.nic)
         self.dut_ports = self.dut.get_ports(self.nic)
         self.verify(len(self.dut_ports) >= 1, "Insufficient ports")
         self.vm0 = None
-- 
2.7.5



More information about the dts mailing list