test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Ma, LihongX" <lihongx.ma@intel.com>
Subject: Re: [dts] [PATCH V1] tests/vhost_multi_queue_qemu: fix issue abuot get	interface of tester
Date: Thu, 13 Feb 2020 01:19:26 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC66EA@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1581473345-82887-1-git-send-email-lihongx.ma@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of malihong
> Sent: Wednesday, February 12, 2020 10:09 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_multi_queue_qemu: fix issue abuot get
> interface of tester
> 
> From: lihong <lihongx.ma@intel.com>
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  tests/TestSuite_vhost_multi_queue_qemu.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/TestSuite_vhost_multi_queue_qemu.py
> b/tests/TestSuite_vhost_multi_queue_qemu.py
> index 1232cf3..5a1a660 100644
> --- a/tests/TestSuite_vhost_multi_queue_qemu.py
> +++ b/tests/TestSuite_vhost_multi_queue_qemu.py
> @@ -49,8 +49,6 @@ class TestVhostUserOneCopyOneVm(TestCase):
>          # Get and verify the ports
>          self.dut_ports = self.dut.get_ports()
>          self.verify(len(self.dut_ports) >= 1, "Insufficient ports for testing")
> -        local_port = self.tester.get_local_port(self.dut_ports[0])
> -        self.tx_interface = self.tester.get_interface(local_port)
>          # Get the port's socket
>          self.pf = self.dut_ports[0]
>          netdev = self.dut.ports_info[self.pf]['port']
> @@ -177,6 +175,8 @@ class TestVhostUserOneCopyOneVm(TestCase):
>          While verify_type is "vhost queue < virtio queue", the vhost should
> forward all set of data
>          While verify_type is "vhost queue > virtio queue", the vhost should
> forward at least one set of data
>          """
> +        local_port = self.tester.get_local_port(self.dut_ports[0])
> +        self.tx_interface = self.tester.get_interface(local_port)
>          for frame_size in self.frame_sizes:
>              info = "Running test %s, and %d frame size." % (self.running_case,
> frame_size)
>              self.logger.info(info)
> --
> 1.9.3


      reply	other threads:[~2020-02-13  1:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12  2:09 malihong
2020-02-13  1:19 ` Tu, Lijuan [this message]

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=8CE3E05A3F976642AAB0F4675D0AD20E0BBC66EA@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=lihongx.ma@intel.com \
    /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).