[dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time
Chen, BoX C
box.c.chen at intel.com
Fri Oct 18 09:22:41 CEST 2019
Tested-by: Chen, BoX C <box.c.chen at intel.com>
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xie,wei
> Sent: October 18, 2019 14:48
> To: dts at dpdk.org
> Cc: Xie, WeiX <weix.xie at intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff
> packet time
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestQuotaWatermark.log
Type: application/octet-stream
Size: 9824 bytes
Desc: TestQuotaWatermark.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20191018/c8005998/attachment.obj>
More information about the dts
mailing list