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

Tu, Lijuan lijuan.tu at intel.com
Wed Oct 23 11:39:45 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of xie,wei
> Sent: Friday, October 18, 2019 2:48 PM
> 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



More information about the dts mailing list