Message ID | 20221019023625.52696-1-weiyuanx.li@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [V1] tests/vf_offload: the optimization script sorts the result check list | expand |
Context | Check | Description |
---|---|---|
ci/Intel-dts-format-test | success | Testing OK |
ci/Intel-dts-pylama-test | success | Testing OK |
ci/Intel-dts-suite-test | fail | Testing issues |
> -----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>
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
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(
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(+)