test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail lost case result
@ 2020-03-17  7:04 Xiao Qimai
  2020-03-20  8:09 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Xiao Qimai @ 2020-03-17  7:04 UTC (permalink / raw)
  To: dts; +Cc: Xiao Qimai

*. fix teardown fail lost case result

Signed-off-by: Xiao Qimai <qimaix.xiao@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..c111846 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()
+        if hasattr(self, "vm"):
+            self.vm.stop()
         self.dut.kill_all()
         time.sleep(2)
 
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V2]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail lost case result
  2020-03-17  7:04 [dts] [PATCH V2]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail lost case result Xiao Qimai
@ 2020-03-20  8:09 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-03-20  8:09 UTC (permalink / raw)
  To: Xiao, QimaiX, dts; +Cc: Xiao, QimaiX

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai
> Sent: Tuesday, March 17, 2020 3:04 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts] [PATCH V2]tests/TestSuite_vhost_multi_queue_qemu: fix
> teardown fail lost case result
> 
> *. fix teardown fail lost case result
> 
> Signed-off-by: Xiao Qimai <qimaix.xiao@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..c111846 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()
> +        if hasattr(self, "vm"):
> +            self.vm.stop()
>          self.dut.kill_all()
>          time.sleep(2)
> 
> --
> 1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-20  8:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-17  7:04 [dts] [PATCH V2]tests/TestSuite_vhost_multi_queue_qemu: fix teardown fail lost case result Xiao Qimai
2020-03-20  8:09 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).