test suite reviews and discussions
 help / color / 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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox