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

Tu, Lijuan lijuan.tu at intel.com
Tue Feb 18 08:09:23 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Haiyang Zhao
> Sent: Tuesday, February 18, 2020 12:23 PM
> To: dts at dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao at intel.com>
> Subject: [dts] [PATCH V1] tests/l2fwd:fix a bug
> 
> *.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