* [dts][PATCH V1] tests/multiprocess_iavf: the optimization script sorts the result check list
@ 2022-12-27 7:56 Weiyuan Li
0 siblings, 0 replies; only message in thread
From: Weiyuan Li @ 2022-12-27 7:56 UTC (permalink / raw)
To: dts; +Cc: Weiyuan Li
The optimization script sorts the results that match the regular.
Signed-off-by: Weiyuan Li <weiyuanx.li@intel.com>
---
tests/TestSuite_multiprocess_iavf.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/TestSuite_multiprocess_iavf.py b/tests/TestSuite_multiprocess_iavf.py
index bb8e0c98..10c5a74d 100644
--- a/tests/TestSuite_multiprocess_iavf.py
+++ b/tests/TestSuite_multiprocess_iavf.py
@@ -1068,6 +1068,7 @@ class TestMultiprocessIavf(TestCase):
r"Port \d+\s+-\s+rx:\s+(?P<rx>\d+)\s+tx:.*PORTS", out, re.DOTALL
)
rx_num = re.findall(r"Client\s+\d\s+-\s+rx:\s+(\d+)", res.group(0))
+ rx_num.sort(reverse=True)
for i in range(proc_num):
self.verify(
int(rx_num[i]) > 0,
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-27 7:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-27 7:56 [dts][PATCH V1] tests/multiprocess_iavf: the optimization script sorts the result check list Weiyuan Li
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).