test suite reviews and discussions
 help / color / mirror / 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

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

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

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).