test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data
@ 2019-10-24 20:37 Xiaoxiao Zeng
  2019-11-04  3:01 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaoxiao Zeng @ 2019-10-24 20:37 UTC (permalink / raw)
  To: dts; +Cc: Xiaoxiao Zeng

*.add timeout in load_tcpdump_sniff_packets

Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data
  2019-10-24 20:37 [dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data Xiaoxiao Zeng
@ 2019-11-04  3:01 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-11-04  3:01 UTC (permalink / raw)
  To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiaoxiao Zeng
> Sent: Friday, October 25, 2019 4:38 AM
> To: dts@dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-04  3:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 20:37 [dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data Xiaoxiao Zeng
2019-11-04  3:01 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).