From patchwork Thu May 26 06:36:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 111888 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18E4EA0557; Thu, 26 May 2022 08:37:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 12A3640E64; Thu, 26 May 2022 08:37:22 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 7C10C40DF7 for ; Thu, 26 May 2022 08:37:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653547040; x=1685083040; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xPWYqsWY96JLQwd12VooD/eZ5IvHMI2kIpuLmnDhxO4=; b=Lw52W4GLTG3xSIyZ4YTKkWdLJTG1k/vMbbzdUQaFjWVwVzH7LhG8kwDn W2cayEsO/ymRR7UjUvaP2GXI1F4fVRt6lVVE6hgFSvEKu1gOgNb6Yv/eS jAM68hvY4LXrLeqbCZyzsqrhsC2vIZhyqAt6MCnUjpl/BLjwHvkmkU3vt /5r6AZUkwR5eMuaot2ht5SSpXVz48OciT6JAfzJNMRlFYAlx0tJuTmS+o CfQmB9hH/E0FuzZluEzqMw34Skl82/6UBMtPP39Pob4/xCPiJtQzANpvk AFvtrOvkYxqdl089tnqM0csOEHOkW5/HPZ/4S8V2SN/ZZROKRVOa8QnKg A==; X-IronPort-AV: E=McAfee;i="6400,9594,10358"; a="299390220" X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="299390220" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 23:37:19 -0700 X-IronPort-AV: E=Sophos;i="5.91,252,1647327600"; d="scan'208";a="602838734" Received: from unknown (HELO localhost.localdomain) ([10.239.251.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2022 23:37:18 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] tests/loopback_virtio_user_server_mode_cbdma: add stop step before quit testpmd Date: Thu, 26 May 2022 02:36:20 -0400 Message-Id: <20220526063620.1277381-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Add stop step to stop send pakcets before quit testpmd. Signed-off-by: Wei Ling --- 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, "#")