[dts] [PATCH V1] tests/l3fwdacl: increase time tcpdump capture data
Xiaoxiao Zeng
xiaoxiaox.zeng at intel.com
Thu Oct 24 22:37:40 CEST 2019
*.add timeout in load_tcpdump_sniff_packets
Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng at 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
More information about the dts
mailing list