[dts] [PATCH V1] tests/l3fwdacl:Increase the time of the default timeout.
Tu, Lijuan
lijuan.tu at intel.com
Mon Nov 4 03:42:40 CET 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhu,shuai
> Sent: Wednesday, October 23, 2019 11:59 AM
> To: dts at dpdk.org
> Cc: Zhu, ShuaiX <shuaix.zhu at 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 at 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
More information about the dts
mailing list