test suite reviews and discussions
 help / color / 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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox