[dts] [PATCH V1] tests/l2fwd:fix a bug

Haiyang Zhao haiyangx.zhao at intel.com
Tue Feb 18 05:22:45 CET 2020


*.delete the slice of test_queues,
  which is to reduce the test time for debuging case.

Signed-off-by: Haiyang Zhao <haiyangx.zhao at intel.com>
---
 tests/TestSuite_l2fwd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_l2fwd.py b/tests/TestSuite_l2fwd.py
index 459b9c9..382ec60 100644
--- a/tests/TestSuite_l2fwd.py
+++ b/tests/TestSuite_l2fwd.py
@@ -191,7 +191,7 @@ class TestL2fwd(TestCase):
                 self.tester.scapy_execute()
                 cnt += 1
 
-            for queues in self.test_queues[0:2]:
+            for queues in self.test_queues:
 
                 command_line = "./examples/l2fwd/build/app/l2fwd %s -- -q %s -p %s &" % \
                     (eal_params, str(queues['queues']), port_mask)
-- 
2.17.1



More information about the dts mailing list