[V1] tests/multiprocess_iavf: the optimization script sorts the result check list
Checks
Commit Message
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(+)
@@ -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,