test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/loopback_virtio_user_server_mode_cbdma: add stop step before quit testpmd
@ 2022-05-26  6:36 Wei Ling
  0 siblings, 0 replies; only message in thread
From: Wei Ling @ 2022-05-26  6:36 UTC (permalink / raw)
  To: dts; +Cc: Wei Ling

Add stop step to stop send pakcets before quit testpmd.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py b/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py
index 93e8575c..ecd7a9e3 100644
--- a/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py
+++ b/tests/TestSuite_loopback_virtio_user_server_mode_cbdma.py
@@ -971,6 +971,8 @@ class TestLoopbackVirtioUserServerModeCbama(TestCase):
         """
         Run after each test case.
         """
+        self.virtio_user_pmd.execute_cmd("stop")
+        self.vhost_user_pmd.execute_cmd("stop")
         self.virtio_user_pmd.quit()
         self.vhost_user_pmd.quit()
         self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#")
-- 
2.25.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-26  6:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-26  6:36 [dts][PATCH V1] tests/loopback_virtio_user_server_mode_cbdma: add stop step before quit testpmd Wei Ling

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).