[dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data
Tu, Lijuan
lijuan.tu at intel.com
Mon Nov 4 04:01:35 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiaoxiao Zeng
> Sent: Friday, October 25, 2019 4:38 AM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data
>
> *.add timeout in load_tcpdump_sniff_packets
>
> Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng at intel.com>
> ---
> tests/TestSuite_l3fwdacl.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py index
> dce37de..9864404 100644
> --- a/tests/TestSuite_l3fwdacl.py
> +++ b/tests/TestSuite_l3fwdacl.py
> @@ -342,7 +342,7 @@ class TestL3fwdacl(TestCase):
> return len(out)
>
> def remove_dhcp_from_revpackets(self, inst):
> - p = self.tester.load_tcpdump_sniff_packets(inst)
> + p = self.tester.load_tcpdump_sniff_packets(inst,timeout=5)
> pkts = p.pktgen.pkts
> i = 0
> while len(pkts) != 0 and i <= len(pkts) - 1:
> --
> 2.17.0
More information about the dts
mailing list