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

lihong lihongx.ma at intel.com
Thu Aug 8 03:17:57 CEST 2019


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