test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xie Wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie Wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/vm_hotplug:str transfer int
Date: Mon, 20 Jan 2020 15:03:10 +0800	[thread overview]
Message-ID: <1579503790-130876-1-git-send-email-weix.xie@intel.com> (raw)

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


             reply	other threads:[~2020-01-20  6:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-20  7:03 Xie Wei [this message]
2020-01-20  8:02 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1579503790-130876-1-git-send-email-weix.xie@intel.com \
    --to=weix.xie@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).