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

Song Jiale songx.jiale at intel.com
Wed Dec 21 18:18:39 CET 2022


when the dpdk testpmd exits abnormally, the port will not be initialized, and sometimes
the other test 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: Song Jiale <songx.jiale 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.17.1



More information about the dts mailing list