[dts] [PATCH V1] tests/TestSuite_ipgre.py: Tear_down func increase kill testpmd statement. check_packet_transmission func exiting abnormally willcause testpmd to not exit. The next test case continues to use untested testpmd, causing the test case to

Mo, YufengX yufengx.mo at intel.com
Mon Sep 16 10:31:40 CEST 2019


Hi, peng zhihong

Li,wenjie has one patch to do the same thing. Could you sync with him?

[dts] [PATCH V1] tests/ipgre: optimize script

BRs
Yufen, Mo

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Peng Zhihong
> Sent: Monday, September 16, 2019 10:10 PM
> To: dts at dpdk.org
> Cc: Peng, ZhihongX <zhihongx.peng at intel.com>; Peng at dpdk.org
> Subject: [dts] [PATCH V1] tests/TestSuite_ipgre.py: Tear_down func increase kill testpmd statement. check_packet_transmission func
> exiting abnormally willcause testpmd to not exit. The next test case continues to use untested testpmd, causing the test case to f...
> 
> From: "Peng, ZhihongX" <zhihongx.peng at intel.com>
> 
> Signed-off-by: Peng, ZhihongX <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 d74ac05..d1db8df 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -439,6 +439,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