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_enqueue_interrupt: flush output buffer	before launch l3fwd
Date: Wed, 28 Aug 2019 05:56:11 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB0672D@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1565654340-32091-1-git-send-email-lihongx.ma@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Tuesday, August 13, 2019 7:59 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_enqueue_interrupt: flush output
> buffer before launch l3fwd
> 
> flush output buffer before launch l3fwd
> print logger info after verify successful
> 
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
>  tests/TestSuite_vhost_enqueue_interrupt.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_vhost_enqueue_interrupt.py
> b/tests/TestSuite_vhost_enqueue_interrupt.py
> index 29c3756..428cf36 100644
> --- a/tests/TestSuite_vhost_enqueue_interrupt.py
> +++ b/tests/TestSuite_vhost_enqueue_interrupt.py
> @@ -122,6 +122,7 @@ class TestVhostEnqueueInterrupt(TestCase):
>          command_line_client = command_client % (
>                          self.core_mask_l3fwd, self.mem_channels,
>                          self.queues, config_info)
> +        self.vhost.get_session_before(timeout=2)
>          self.vhost.send_expect(command_line_client, "POWER", 40)
>          time.sleep(10)
>          out = self.vhost.get_session_before() @@ -142,8 +143,8 @@ class
> TestVhostEnqueueInterrupt(TestCase):
>                                  self.verify_info[i]['queue'])
>              elif status == "sleeps":
>                  info = "lcore %s sleeps until interrupt triggers" %
> self.verify_info[i]["core"]
> -            self.logger.info(info)
>              self.verify(info in out, "The CPU status not right for %s" % info)
> +            self.logger.info(info)
> 
>      def send_and_verify(self):
>          """
> --
> 2.7.4


      parent reply	other threads:[~2019-08-28  5:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12 23:59 lihong
2019-08-14  2:43 ` Wang, Yinan
2019-08-28  5:56 ` 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=8CE3E05A3F976642AAB0F4675D0AD20E0BB0672D@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).