[dts] [PATCH V1] tear_down add self.dut.kill_all()

Tu, Lijuan lijuan.tu at intel.com
Mon Nov 4 03:52:59 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiao, QimaiX
> Sent: Thursday, October 24, 2019 1:45 PM
> To: Peng, ZhihongX <zhihongx.peng at intel.com>; dts at dpdk.org
> Cc: Peng, ZhihongX <zhihongx.peng at intel.com>
> Subject: Re: [dts] [PATCH V1] tear_down add self.dut.kill_all()
> 
> CVL not support some case of this suit lead testpmd can't quit normally. Add
> this to ensure testpmd process be killed before next case start.
> 
> Tested-by:  Xiao Qimai <qimaix.xiao at intel.com>
> 
> Best Regards,
> Xiao,Qimai
> 
> 
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Peng Zhihong
> Sent: Thursday, October 24, 2019 9:13 PM
> To: dts at dpdk.org
> Cc: Peng, ZhihongX <zhihongx.peng at intel.com>
> Subject: [dts] [PATCH V1] tear_down add self.dut.kill_all()
> 
> tear_down add self.dut.kill_all()
> 
> Signed-off-by: Peng Zhihong <zhihongx.peng at intel.com>
> ---
>  tests/TestSuite_ipgre.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py index
> 7258db5..c6bb380 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -459,6 +459,7 @@ class TestIpgre(TestCase):
>          Run after each test case.
>          Nothing to do.
>          """
> +        self.dut.kill_all()
>          pass
> 
>      def tear_down_all(self):
> --
> 2.17.1



More information about the dts mailing list