[dts] [PATCH V1] tests/vhost_event_idx_interrupt: flush output buffer before launch l3fwd

Tu, Lijuan lijuan.tu at intel.com
Mon Aug 12 08:52:47 CEST 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of lihong
> Sent: Thursday, August 8, 2019 9:18 AM
> To: dts at dpdk.org
> Cc: Ma, LihongX <lihongx.ma at intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_event_idx_interrupt: flush output
> buffer before launch l3fwd
> 
> Signed-off-by: lihong <lihongx.ma at intel.com>
> ---
>  tests/TestSuite_vhost_event_idx_interrupt.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py
> b/tests/TestSuite_vhost_event_idx_interrupt.py
> index 24cd066..2d0bc38 100644
> --- a/tests/TestSuite_vhost_event_idx_interrupt.py
> +++ b/tests/TestSuite_vhost_event_idx_interrupt.py
> @@ -111,6 +111,7 @@ class TestVhostEventIdxInterrupt(TestCase):
>          command_line_client = command_client % (
>                          self.core_mask_l3fwd, self.dut.get_memory_channels(),
>                          vdev_info, port_info, 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()
> --
> 2.7.4



More information about the dts mailing list