[dts] [PATCH V1] tests/vhost_user_live_migration:add self.

Tu, Lijuan lijuan.tu at intel.com
Mon Jan 20 06:46:03 CET 2020


applied

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhu,shuai
> Sent: Monday, January 20, 2020 10:16 AM
> To: dts at dpdk.org
> Cc: Wang, Yinan <yinan.wang at intel.com>; Zhu, ShuaiX
> <shuaix.zhu at intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_user_live_migration:add self.
> 
> 
> 
> Signed-off-by: zhu,shuai <shuaix.zhu 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 dc8bb24..5c5db0d 100644
> --- a/tests/TestSuite_vhost_user_live_migration.py
> +++ b/tests/TestSuite_vhost_user_live_migration.py
> @@ -139,7 +139,7 @@ class TestVhostUserLiveMigration(TestCase):
>          core_config = '1S/%dC/1T' % core_number
>          self.core_list0 = self.duts[0].get_core_list(core_config)
>          self.core_list1 = self.duts[1].get_core_list(core_config)
> -        self.verify(len(self.core_list0) >= core_number and len(core_list1) >=
> core_number,
> +        self.verify(len(self.core_list0) >= core_number and
> len(self.core_list1) >= core_number,
>                      'There have not enough cores to start testpmd on duts')
> 
>      def launch_testpmd_as_vhost_on_both_dut(self, zero_copy=False):
> --
> 2.17.2



More information about the dts mailing list