test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/vxlan:add timeout
@ 2019-10-18  7:18 zhu,shuai
  2019-10-18  7:18 ` Zhu, WenhuiX
  2019-10-23  9:39 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: zhu,shuai @ 2019-10-18  7:18 UTC (permalink / raw)
  To: dts; +Cc: zhu,shuai

add time

Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
 tests/TestSuite_vxlan.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py
index 591ba8c..e29e4a9 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -444,8 +444,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
         # save the capture packet into pcap format
         inst = self.tester.tcpdump_sniff_packets(self.recv_iface)
         config.send_pcap(self.tester_iface)
-        pkt = self.tester.load_tcpdump_sniff_packets(inst)
-        time.sleep(5)
+        pkt = self.tester.load_tcpdump_sniff_packets(inst, timeout=3)
 
         # extract the checksum offload from saved pcap file
         chksums = config.get_chksums(pkt=pkt)
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/vxlan:add timeout
  2019-10-18  7:18 [dts] [PATCH V1] tests/vxlan:add timeout zhu,shuai
@ 2019-10-18  7:18 ` Zhu, WenhuiX
  2019-10-23  9:39 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Zhu, WenhuiX @ 2019-10-18  7:18 UTC (permalink / raw)
  To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

Tested-by: Zhu, WenhuiX <wenhuix.zhu@intel.com>

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
Sent: Friday, October 18, 2019 3:19 PM
To: dts@dpdk.org
Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
Subject: [dts] [PATCH V1] tests/vxlan:add timeout

add time

Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
 tests/TestSuite_vxlan.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index 591ba8c..e29e4a9 100644
--- a/tests/TestSuite_vxlan.py
+++ b/tests/TestSuite_vxlan.py
@@ -444,8 +444,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
         # save the capture packet into pcap format
         inst = self.tester.tcpdump_sniff_packets(self.recv_iface)
         config.send_pcap(self.tester_iface)
-        pkt = self.tester.load_tcpdump_sniff_packets(inst)
-        time.sleep(5)
+        pkt = self.tester.load_tcpdump_sniff_packets(inst, timeout=3)
 
         # extract the checksum offload from saved pcap file
         chksums = config.get_chksums(pkt=pkt)
--
2.17.2


[-- Attachment #2: TestVxlan.log --]
[-- Type: application/octet-stream, Size: 2504644 bytes --]

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

* Re: [dts] [PATCH V1] tests/vxlan:add timeout
  2019-10-18  7:18 [dts] [PATCH V1] tests/vxlan:add timeout zhu,shuai
  2019-10-18  7:18 ` Zhu, WenhuiX
@ 2019-10-23  9:39 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-10-23  9:39 UTC (permalink / raw)
  To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
> Sent: Friday, October 18, 2019 3:19 PM
> To: dts@dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/vxlan:add timeout
> 
> add time
> 
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
>  tests/TestSuite_vxlan.py | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index
> 591ba8c..e29e4a9 100644
> --- a/tests/TestSuite_vxlan.py
> +++ b/tests/TestSuite_vxlan.py
> @@ -444,8 +444,7 @@ class TestVxlan(TestCase, IxiaPacketGenerator):
>          # save the capture packet into pcap format
>          inst = self.tester.tcpdump_sniff_packets(self.recv_iface)
>          config.send_pcap(self.tester_iface)
> -        pkt = self.tester.load_tcpdump_sniff_packets(inst)
> -        time.sleep(5)
> +        pkt = self.tester.load_tcpdump_sniff_packets(inst, timeout=3)
> 
>          # extract the checksum offload from saved pcap file
>          chksums = config.get_chksums(pkt=pkt)
> --
> 2.17.2


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18  7:18 [dts] [PATCH V1] tests/vxlan:add timeout zhu,shuai
2019-10-18  7:18 ` Zhu, WenhuiX
2019-10-23  9:39 ` 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