[dts] [PATCH V1] tests/l2fwd_jobstats:add scapy_send_packet timeout

Tu, Lijuan lijuan.tu at intel.com
Wed Oct 23 11:56:08 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiaoxiao Zeng
> Sent: Tuesday, October 22, 2019 4:07 AM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1] tests/l2fwd_jobstats:add scapy_send_packet
> timeout
> 
> *.90 seconds timeout not enough,change timout to 120 seconds.
> 
> Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng at intel.com>
> ---
>  tests/TestSuite_l2fwd_jobstats.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_l2fwd_jobstats.py
> b/tests/TestSuite_l2fwd_jobstats.py
> index 7f12229..18c25d4 100644
> --- a/tests/TestSuite_l2fwd_jobstats.py
> +++ b/tests/TestSuite_l2fwd_jobstats.py
> @@ -97,7 +97,7 @@ class TestL2fwdJobstats(TestCase):
>              txItf = self.tester.get_interface(txport)
>              self.tester.scapy_append(
>                  'sendp([Ether(dst="02:00:00:00:00",
> src="%s")/IP()/UDP()/Raw(\'X\'*18)], iface="%s",count=%s)' % (mac, txItf,
> count))
> -            self.tester.scapy_execute(timeout=90)
> +            self.tester.scapy_execute(timeout=120)
> 
>      def tear_down(self):
>          """
> --
> 2.17.0



More information about the dts mailing list