[V1,2/3] tests/ice_fdir: optimize scripts

Message ID 20221115074214.62185-2-hongbox.li@intel.com (mailing list archive)
State Changes Requested
Headers
Series [V1,1/3] tests/ice_iavf_fdir: optimize scripts |

Commit Message

Li, HongboX Nov. 15, 2022, 7:42 a.m. UTC
  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@intel.com>
---
 tests/TestSuite_ice_fdir.py | 1 +
 1 file changed, 1 insertion(+)
  

Patch

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()