[dts] [PATCH V1 2/3] tests/ice_fdir: optimize scripts

Hongbo Li hongbox.li at intel.com
Tue Nov 15 08:42:13 CET 2022


when the dpdk testpmd exits abnormally, the port will not be initialized, and sometimes
the test of other cases will be affected. therefore, after the test, should use quit to
close the dpdk testpmd normally to avoid the impact between cases.

Signed-off-by: Hongbo Li <hongbox.li at intel.com>
---
 tests/TestSuite_ice_fdir.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_ice_fdir.py b/tests/TestSuite_ice_fdir.py
index fac65fda..b0fd8207 100644
--- a/tests/TestSuite_ice_fdir.py
+++ b/tests/TestSuite_ice_fdir.py
@@ -4517,4 +4517,5 @@ class TestICEFdir(TestCase):
             self.launch_testpmd_with_mark()
 
     def tear_down_all(self):
+        self.pmd_output.quit()
         self.dut.kill_all()
-- 
2.25.1



More information about the dts mailing list