[dts] [PATCH V1] tests/vhost_enqueue_interrupt: flush output buffer before launch l3fwd
Tu, Lijuan
lijuan.tu at intel.com
Wed Aug 28 07:56:11 CEST 2019
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: Tuesday, August 13, 2019 7:59 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at 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 at 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
More information about the dts
mailing list