test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/vm_hotplug:str transfer int
@ 2020-01-20  7:03 Xie Wei
  2020-01-20  8:02 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Xie Wei @ 2020-01-20  7:03 UTC (permalink / raw)
  To: dts; +Cc: Xie Wei

Signed-off-by: Xie Wei <weix.xie@intel.com>
---
 tests/TestSuite_vm_hotplug.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vm_hotplug.py b/tests/TestSuite_vm_hotplug.py
index 276a0b8..3b79417 100644
--- a/tests/TestSuite_vm_hotplug.py
+++ b/tests/TestSuite_vm_hotplug.py
@@ -274,7 +274,7 @@ class TestVmHotplug(TestCase):
         out = self.get_tcpdump_package(iface_list)
         for pkt_num in out:
             # rule out miscellaneous package possibility
-            self.verify(pkt_num > 1000, 'vf send packet fail')
+            self.verify(int(pkt_num) > 1000, 'vf send packet fail')
 
     def check_vf_device(self, has_device=True, device=1):
         time.sleep(1)
-- 
2.17.2


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

* Re: [dts] [PATCH V1] tests/vm_hotplug:str transfer int
  2020-01-20  7:03 [dts] [PATCH V1] tests/vm_hotplug:str transfer int Xie Wei
@ 2020-01-20  8:02 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-01-20  8:02 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

applied

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xie Wei
> Sent: Monday, January 20, 2020 3:03 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts] [PATCH V1] tests/vm_hotplug:str transfer int
> 
> Signed-off-by: Xie Wei <weix.xie@intel.com>
> ---
>  tests/TestSuite_vm_hotplug.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vm_hotplug.py b/tests/TestSuite_vm_hotplug.py
> index 276a0b8..3b79417 100644
> --- a/tests/TestSuite_vm_hotplug.py
> +++ b/tests/TestSuite_vm_hotplug.py
> @@ -274,7 +274,7 @@ class TestVmHotplug(TestCase):
>          out = self.get_tcpdump_package(iface_list)
>          for pkt_num in out:
>              # rule out miscellaneous package possibility
> -            self.verify(pkt_num > 1000, 'vf send packet fail')
> +            self.verify(int(pkt_num) > 1000, 'vf send packet fail')
> 
>      def check_vf_device(self, has_device=True, device=1):
>          time.sleep(1)
> --
> 2.17.2


^ 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-01-20  7:03 [dts] [PATCH V1] tests/vm_hotplug:str transfer int Xie Wei
2020-01-20  8:02 ` 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