From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6393A0547; Tue, 15 Nov 2022 09:42:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B0B2C410D3; Tue, 15 Nov 2022 09:42:02 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 50CE340F18 for ; Tue, 15 Nov 2022 09:42:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668501720; x=1700037720; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=4kYvU4kl5RfNEIydJTQP4UxSGu9CzrUpiCBxieszzwg=; b=iVFsqClRFg1pNS/YLbkYNps2/W/2epZdaoZ0IQr1WF08QeYzbgwPjkHu tKd/txFGgbTULEp8UNGM40V2NUcbxIUVMEKVKOiaeo9QJXPUK4gUvVLZD zuRynLRKA/P/xVAgWMY/N+qIlS6YTY8Fox3hsuO0EocL7ALDzfOziVHNG kU0ZpH71RRxGUFpmrJYhIWlguQ+0RHjLDI2pw4OWkfQtCDyurM8Kkq2hl WMgg+w/59NXJ2GxgiP5ShUUZVhzNDBc+bs/Hc5IcCstG2QRdmFV7mBaeB zJxFvW1aRF/VdH/YIjHXxnkHXbDXhUu8Meiwg4f2jThLiYX4DJscbRCR4 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="312203181" X-IronPort-AV: E=Sophos;i="5.96,165,1665471600"; d="scan'208";a="312203181" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 00:41:59 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10531"; a="671919162" X-IronPort-AV: E=Sophos;i="5.96,165,1665471600"; d="scan'208";a="671919162" Received: from unknown (HELO localhost.localdomain) ([10.239.252.19]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2022 00:41:58 -0800 From: Hongbo Li To: dts@dpdk.org Cc: Hongbo Li Subject: [dts] [PATCH V1 2/3] tests/ice_fdir: optimize scripts Date: Tue, 15 Nov 2022 07:42:13 +0000 Message-Id: <20221115074214.62185-2-hongbox.li@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221115074214.62185-1-hongbox.li@intel.com> References: <20221115074214.62185-1-hongbox.li@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 when the dpdk testpmd exits abnormally, the port will not be initialized, and sometimes the test of other cases will be affected. therefore, after the test, should use quit to close the dpdk testpmd normally to avoid the impact between cases. Signed-off-by: Hongbo Li --- tests/TestSuite_ice_fdir.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_ice_fdir.py b/tests/TestSuite_ice_fdir.py index fac65fda..b0fd8207 100644 --- a/tests/TestSuite_ice_fdir.py +++ b/tests/TestSuite_ice_fdir.py @@ -4517,4 +4517,5 @@ class TestICEFdir(TestCase): self.launch_testpmd_with_mark() def tear_down_all(self): + self.pmd_output.quit() self.dut.kill_all() -- 2.25.1