[dts] [PATCH V1] tests/vxlan:add timeout
zhu,shuai
shuaix.zhu at intel.com
Fri Oct 18 09:18:48 CEST 2019
add time
Signed-off-by: zhu,shuai <shuaix.zhu at 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
More information about the dts
mailing list