test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time
@ 2019-10-18  6:47 xie,wei
  2019-10-18  7:22 ` Chen, BoX C
  2019-10-23  9:39 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: xie,wei @ 2019-10-18  6:47 UTC (permalink / raw)
  To: dts; +Cc: xie,wei

increase time

Signed-off-by: xie,wei <weix.xie@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time
  2019-10-18  6:47 [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time xie,wei
@ 2019-10-18  7:22 ` Chen, BoX C
  2019-10-23  9:39 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Chen, BoX C @ 2019-10-18  7:22 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]

Tested-by: Chen, BoX C <box.c.chen@intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xie,wei
> Sent: October 18, 2019 14:48
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff
> packet time
> 
> increase time
> 
> Signed-off-by: xie,wei <weix.xie@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


[-- Attachment #2: TestQuotaWatermark.log --]
[-- Type: application/octet-stream, Size: 9824 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time
  2019-10-18  6:47 [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time xie,wei
  2019-10-18  7:22 ` Chen, BoX C
@ 2019-10-23  9:39 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-10-23  9:39 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xie,wei
> Sent: Friday, October 18, 2019 2:48 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff
> packet time
> 
> increase time
> 
> Signed-off-by: xie,wei <weix.xie@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-23  9:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-18  6:47 [dts] [PATCH V1] tests/TestSuite_quota_watermark:modify sniff packet time xie,wei
2019-10-18  7:22 ` Chen, BoX C
2019-10-23  9:39 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).