[dts] [PATCH V1] tests/ multiple_pthread: add killall scapy in tear_down

Tu, Lijuan lijuan.tu at intel.com
Fri Nov 22 04:30:07 CET 2019


It's not a good idea to kill all scapy, it will impact other users who is also using scapy but another process.

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiaoxiao Zeng
> Sent: Friday, November 1, 2019 11:00 PM
> To: dts at dpdk.org
> Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
> Subject: [dts] [PATCH V1] tests/ multiple_pthread: add killall scapy in
> tear_down
> 
> *.This suit not close send_package tool,it make next suit's testpmd get large
> rx_pakage when start
> 
> Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng at intel.com>
> ---
>  tests/TestSuite_multiple_pthread.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_multiple_pthread.py
> b/tests/TestSuite_multiple_pthread.py
> index 1ea71a5..f247751 100644
> --- a/tests/TestSuite_multiple_pthread.py
> +++ b/tests/TestSuite_multiple_pthread.py
> @@ -237,4 +237,4 @@ class TestMultiplePthread(TestCase):
>          """
>          Run after each test suite.
>          """
> -        pass
> +        self.tester.send_expect("killall scapy", "#", 5)
> --
> 2.17.0



More information about the dts mailing list