test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/vf_offload: the optimization script sorts the result check list
@ 2022-10-19  2:36 Weiyuan Li
  2022-10-27  8:06 ` Chen, LingliX
  2022-11-18  8:25 ` lijuan.tu
  0 siblings, 2 replies; 3+ messages in thread
From: Weiyuan Li @ 2022-10-19  2:36 UTC (permalink / raw)
  To: dts; +Cc: Weiyuan Li

On some test platforms, the list of results after tso fragment capture is unordered, and sorting needs to be added.

Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
 tests/TestSuite_vf_offload.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_vf_offload.py b/tests/TestSuite_vf_offload.py
index c70b24f4..75c75f05 100644
--- a/tests/TestSuite_vf_offload.py
+++ b/tests/TestSuite_vf_offload.py
@@ -584,6 +584,7 @@ class TestVfOffload(TestCase):
             rx_stats = self.number_of_packets(rx_interface)
             tx_stats = self.number_of_packets(tx_interface)
             tx_outlist = self.number_of_bytes(rx_interface)
+            tx_outlist.sort(reverse=True)
             self.logger.info(tx_outlist)
             if loading_size <= 800:
                 self.verify(
@@ -618,6 +619,7 @@ class TestVfOffload(TestCase):
             rx_stats = self.number_of_packets(rx_interface)
             tx_stats = self.number_of_packets(tx_interface)
             tx_outlist = self.number_of_bytes(rx_interface)
+            tx_outlist.sort(reverse=True)
             self.logger.info(tx_outlist)
             if loading_size <= 800:
                 self.verify(
-- 
2.25.1


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

* RE: [dts][PATCH V1] tests/vf_offload: the optimization script sorts the result check list
  2022-10-19  2:36 [dts][PATCH V1] tests/vf_offload: the optimization script sorts the result check list Weiyuan Li
@ 2022-10-27  8:06 ` Chen, LingliX
  2022-11-18  8:25 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: Chen, LingliX @ 2022-10-27  8:06 UTC (permalink / raw)
  To: dts


> -----Original Message-----
> From: Weiyuan Li <weiyuanx.li@intel.com>
> Sent: Wednesday, October 19, 2022 10:36 AM
> To: dts@dpdk.org
> Cc: Li, WeiyuanX <weiyuanx.li@intel.com>
> Subject: [dts][PATCH V1] tests/vf_offload: the optimization script sorts the
> result check list
> 
> On some test platforms, the list of results after tso fragment capture is
> unordered, and sorting needs to be added.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
> ---

Tested-by: Lingli Chen <linglix.chen@intel.com>

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

* [dts][PATCH V1] tests/vf_offload: the optimization script sorts the result check list
  2022-10-19  2:36 [dts][PATCH V1] tests/vf_offload: the optimization script sorts the result check list Weiyuan Li
  2022-10-27  8:06 ` Chen, LingliX
@ 2022-11-18  8:25 ` lijuan.tu
  1 sibling, 0 replies; 3+ messages in thread
From: lijuan.tu @ 2022-11-18  8:25 UTC (permalink / raw)
  To: dts, Weiyuan Li; +Cc: Weiyuan Li

On Wed, 19 Oct 2022 10:36:25 +0800, Weiyuan Li <weiyuanx.li@intel.com> wrote:
> On some test platforms, the list of results after tso fragment capture is unordered, and sorting needs to be added.
> 
> Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>


Applied, thanks

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

end of thread, other threads:[~2022-11-18  8:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19  2:36 [dts][PATCH V1] tests/vf_offload: the optimization script sorts the result check list Weiyuan Li
2022-10-27  8:06 ` Chen, LingliX
2022-11-18  8:25 ` lijuan.tu

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).