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 ACB7DA034C; Wed, 21 Dec 2022 09:59:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A79B240A7A; Wed, 21 Dec 2022 09:59:04 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id C4A7F40698 for ; Wed, 21 Dec 2022 09:59:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671613143; x=1703149143; h=from:to:cc:subject:date:message-id; bh=QDgl7rRJFiPZbxxizej08oj8DbZ7OSRscLGHU996HZM=; b=DO4pv96rsGldwsvL2Xk1I6jKAg2vtLcEmRn3V617mK1PyTrPLjFump2D X+4wU6SVVJXJla4w1EvPgPQPbB9WFD8e9eJFfcmvIWQqGiAtal6hDzvaw p97Jkv1wnRJA03BZerhyAGVnh/g7YspW61pPdGhO648RP93Ey6lTQKUww tRgjNLDhoinGMc23I3QJqUYKZjIZdvjeJACPQW6tnyXvs9uUyHwk1Zq2l oNOjDj9hSGCvU2/mSoIHzzv4YDBklafaeZz/wfO3SGwM3GbY2pAxw9sY6 OP7HifRFiFLLryU0Nr1LihlfF9snp2H1OR46ejFwrQK+hEz5s1OUUkAzY Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="299501718" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="299501718" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 00:58:53 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="714745772" X-IronPort-AV: E=Sophos;i="5.96,262,1665471600"; d="scan'208";a="714745772" Received: from unknown (HELO localhost.localdomain) ([10.239.252.94]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2022 00:58:51 -0800 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V1 1/2] tests/ice_fdir: optimize scripts Date: Wed, 21 Dec 2022 17:18:39 +0000 Message-Id: <20221221171840.19652-1-songx.jiale@intel.com> X-Mailer: git-send-email 2.17.1 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 other test 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: Song Jiale --- 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.17.1