[dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail caused lost case result
Xiao, QimaiX
qimaix.xiao at intel.com
Tue Mar 17 07:49:18 CET 2020
Thanks Lijuan, I'll submit patch version2
Regards,
Xiao Qimai
> -----Original Message-----
> From: Tu, Lijuan
> Sent: Monday, March 16, 2020 1:32 PM
> To: Xiao, QimaiX <qimaix.xiao at intel.com>; dts at dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao at intel.com>
> Subject: RE: [dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix
> teardown fail caused lost case result
>
>
>
> > -----Original Message-----
> > From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xiao Qimai
> > Sent: Thursday, March 12, 2020 7:16 PM
> > To: dts at dpdk.org
> > Cc: Xiao, QimaiX <qimaix.xiao at intel.com>
> > Subject: [dts] [PATCH V1]tests/TestSuite_vhost_multi_queue_qemu: fix
> > teardown fail caused lost case result
> >
> > *. fix lost case result
> >
> > Signed-off-by: Xiao Qimai <qimaix.xiao at intel.com>
> > ---
> > tests/TestSuite_vhost_multi_queue_qemu.py | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/tests/TestSuite_vhost_multi_queue_qemu.py
> > b/tests/TestSuite_vhost_multi_queue_qemu.py
> > index c98b4ea..7dcb18c 100644
> > --- a/tests/TestSuite_vhost_multi_queue_qemu.py
> > +++ b/tests/TestSuite_vhost_multi_queue_qemu.py
> > @@ -326,7 +326,8 @@ class TestVhostMultiQueueQemu(TestCase):
> > Run after each test case.
> > Clear vhost-switch and qemu to avoid blocking the following TCs
> > """
> > - self.vm.stop()
> > + is hasattr(self, "vm"):
> [Lijuan] is should be if
> > + self.vm.stop()
> > self.dut.kill_all()
> > time.sleep(2)
> >
> > --
> > 1.8.3.1
More information about the dts
mailing list