[dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time

xie,wei weix.xie at intel.com
Fri Oct 18 08:47:57 CEST 2019


increase time

Signed-off-by: xie,wei <weix.xie at intel.com>
---
 tests/TestSuite_quota_watermark.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_quota_watermark.py b/tests/TestSuite_quota_watermark.py
index 0541eef..1a81784 100644
--- a/tests/TestSuite_quota_watermark.py
+++ b/tests/TestSuite_quota_watermark.py
@@ -312,7 +312,7 @@ class TestQuotaWatermark(TestCase, IxiaPacketGenerator):
         # send and sniff packet
         rx_inst = self.tester.tcpdump_sniff_packets(rx_intf)
         self.send_pcap_pkt_by_scapy(self.tester, tgen_input[0][2], tx_intf)
-        pkts = self.tester.load_tcpdump_sniff_packets(rx_inst)
+        pkts = self.tester.load_tcpdump_sniff_packets(rx_inst, timeout=2)
         self.verify(len(pkts) == pkt_cnt, "Packet not forwarded as expected")
 
         return
-- 
2.17.2



More information about the dts mailing list