[dts] [PATCH V1] tests/vhost_user_live_migration:delete invalid code

Zhao, HaiyangX haiyangx.zhao at intel.com
Tue Mar 16 03:30:57 CET 2021



> -----Original Message-----
> From: dts <dts-bounces at dpdk.org> On Behalf Of Ling Wei
> Sent: Monday, March 15, 2021 18:02
> To: dts at dpdk.org
> Cc: Ling, WeiX <weix.ling at intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_user_live_migration:delete invalid
> code
> 
> Delete self.stop_send_pkts_on_tester() step in tear_down, because of
> framework will auto stop pktgen.
> 
> Signed-off-by: Ling Wei <weix.ling at intel.com>
> ---
>  tests/TestSuite_vhost_user_live_migration.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vhost_user_live_migration.py
> b/tests/TestSuite_vhost_user_live_migration.py
> index 915fa596..d5d1af65 100644
> --- a/tests/TestSuite_vhost_user_live_migration.py
> +++ b/tests/TestSuite_vhost_user_live_migration.py
> @@ -449,7 +449,7 @@ class TestVhostUserLiveMigration(TestCase):
>      def tear_down(self):
>          self.destroy_vm_env()
>          # stop send packet on tester
> -        self.stop_send_pkts_on_tester()
> +        # self.stop_send_pkts_on_tester()

Hi, wei,
If the code should removed, just delete it instead of commentting it, and the comments should be removed too.



More information about the dts mailing list