* [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, other threads:[~2020-01-20 8:03 UTC | newest]
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
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).