[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

Peng, ZhihongX zhihongx.peng at intel.com
Mon Sep 23 03:49:21 CEST 2019


Liwenjie has submitted.

-----Original Message-----
From: Tu, Lijuan 
Sent: Friday, September 20, 2019 2:24 PM
To: Peng, ZhihongX <zhihongx.peng at intel.com>; dts at dpdk.org
Cc: Peng, ZhihongX <zhihongx.peng at intel.com>; Peng at dpdk.org
Subject: RE: [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 

Comment inline

> -----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
[Lijuan] Please remove "pass" 
> 
>      def tear_down_all(self):
> --
> 2.17.1



More information about the dts mailing list