test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout.
@ 2019-10-23  3:58 zhu,shuai
  2019-10-23  4:06 ` Zhu, WenhuiX
  2019-11-04  2:42 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: zhu,shuai @ 2019-10-23  3:58 UTC (permalink / raw)
  To: dts; +Cc: zhu,shuai

Increase the default timeout time in the send_pkt method.

Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
 tests/TestSuite_l3fwdacl.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py
index dce37de..564ceb2 100644
--- a/tests/TestSuite_l3fwdacl.py
+++ b/tests/TestSuite_l3fwdacl.py
@@ -272,7 +272,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters)
         pkt = packet.Packet()
         pkt.append_pkt(ethernet_str)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
 
@@ -302,7 +302,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil)
         pkt = packet.Packet()
         pkt.append_pkt(ethernet_str)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
 
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
@@ -320,7 +320,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters)
         pkt = packet.Packet()
         pkt.append_pkt(etherStr)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
 
@@ -336,7 +336,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil)
         pkt = packet.Packet()
         pkt.append_pkt(etherStr)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
 
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout.
  2019-10-23  3:58 [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout zhu,shuai
@ 2019-10-23  4:06 ` Zhu, WenhuiX
  2019-11-04  2:42 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Zhu, WenhuiX @ 2019-10-23  4:06 UTC (permalink / raw)
  To: Zhu, ShuaiX, dts; +Cc: Zhu, ShuaiX, Zhu, WenhuiX

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


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

-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu,shuai
Sent: Wednesday, October 23, 2019 11:59 AM
To: dts@dpdk.org
Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
Subject: [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout.

Increase the default timeout time in the send_pkt method.

Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
---
 tests/TestSuite_l3fwdacl.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py index dce37de..564ceb2 100644
--- a/tests/TestSuite_l3fwdacl.py
+++ b/tests/TestSuite_l3fwdacl.py
@@ -272,7 +272,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters)
         pkt = packet.Packet()
         pkt.append_pkt(ethernet_str)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
 
@@ -302,7 +302,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil)
         pkt = packet.Packet()
         pkt.append_pkt(ethernet_str)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
 
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
@@ -320,7 +320,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters)
         pkt = packet.Packet()
         pkt.append_pkt(etherStr)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
 
@@ -336,7 +336,7 @@ class TestL3fwdacl(TestCase):
         inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil)
         pkt = packet.Packet()
         pkt.append_pkt(etherStr)
-        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
+        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
 
         out = self.remove_dhcp_from_revpackets(inst)
         return len(out)
--
2.17.2


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

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

* Re: [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout.
  2019-10-23  3:58 [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout zhu,shuai
  2019-10-23  4:06 ` Zhu, WenhuiX
@ 2019-11-04  2:42 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-11-04  2:42 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: Wednesday, October 23, 2019 11:59 AM
> To: dts@dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default
> timeout.
> 
> Increase the default timeout time in the send_pkt method.
> 
> Signed-off-by: zhu,shuai <shuaix.zhu@intel.com>
> ---
>  tests/TestSuite_l3fwdacl.py | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/TestSuite_l3fwdacl.py b/tests/TestSuite_l3fwdacl.py index
> dce37de..564ceb2 100644
> --- a/tests/TestSuite_l3fwdacl.py
> +++ b/tests/TestSuite_l3fwdacl.py
> @@ -272,7 +272,7 @@ class TestL3fwdacl(TestCase):
>          inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters)
>          pkt = packet.Packet()
>          pkt.append_pkt(ethernet_str)
> -        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
> +        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
>          out = self.remove_dhcp_from_revpackets(inst)
>          return len(out)
> 
> @@ -302,7 +302,7 @@ class TestL3fwdacl(TestCase):
>          inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil)
>          pkt = packet.Packet()
>          pkt.append_pkt(ethernet_str)
> -        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
> +        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
> 
>          out = self.remove_dhcp_from_revpackets(inst)
>          return len(out)
> @@ -320,7 +320,7 @@ class TestL3fwdacl(TestCase):
>          inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=filters)
>          pkt = packet.Packet()
>          pkt.append_pkt(etherStr)
> -        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
> +        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
>          out = self.remove_dhcp_from_revpackets(inst)
>          return len(out)
> 
> @@ -336,7 +336,7 @@ class TestL3fwdacl(TestCase):
>          inst = self.tester.tcpdump_sniff_packets(rx_interface, filters=fil)
>          pkt = packet.Packet()
>          pkt.append_pkt(etherStr)
> -        pkt.send_pkt(crb=self.tester, tx_port=tx_interface)
> +        pkt.send_pkt(crb=self.tester, tx_port=tx_interface, timeout=30)
> 
>          out = self.remove_dhcp_from_revpackets(inst)
>          return len(out)
> --
> 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-23  3:58 [dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout zhu,shuai
2019-10-23  4:06 ` Zhu, WenhuiX
2019-11-04  2:42 ` 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