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 A519D42BA7; Fri, 26 May 2023 09:11:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E39A40DDA; Fri, 26 May 2023 09:11:39 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 1A07840A89 for ; Fri, 26 May 2023 09:11:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685085098; x=1716621098; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=QdT7+4WJZDW08k3Jl+RKIvF2zji04sL5v/rYozTnlu0=; b=nViMv08z8Flzyckpo9ReC6zHE4NnlV3gTn/UZSn0ApZjRxSGoD67smEt JtNIamVEBRqK/Nv3VWL54283rVnafXAXBweh4i6KhtrpawmK5SA/c6Vp5 OIggygHIS45Yah7kLaDXZZkycfWXqGgVrE4ZSN9NzuvPlmaH75+8Sn/lS GTyIqaxMvCjsYXxs7Krp/sPtA8KRunLP+Jah1Uje8dRDjsRu4qVeTSkdj CQD3apEiBBeGY7VoO4Dn3AuJHgn6ExBuCbgWtAG4H627XsdBWFLispH7p 4QyLr6S+tI3z4EUaSStrTkB0xTsV7fuNBWBwUAdSCXrB1va+FJRWaBMMM Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="356521609" X-IronPort-AV: E=Sophos;i="6.00,193,1681196400"; d="scan'208";a="356521609" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2023 00:11:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10721"; a="738147107" X-IronPort-AV: E=Sophos;i="6.00,193,1681196400"; d="scan'208";a="738147107" Received: from unknown (HELO localhost.localdomain) ([10.239.252.44]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 May 2023 00:11:25 -0700 From: Dukai Yuan To: dts@dpdk.org Cc: Dukai Yuan Subject: [dts][PATCH V1] tests/ipv4_reassembly: add check for tester port status Date: Fri, 26 May 2023 14:49:02 +0000 Message-Id: <20230526144902.3793277-1-dukaix.yuan@intel.com> X-Mailer: git-send-email 2.31.1 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 using the ifconfig command to change the mtu value of the network card, the state of the network card may change from up to down. Add the step of checking the status of the network card to ensure that the status of the network card is up. Signed-off-by: Dukai Yuan --- tests/TestSuite_ipv4_reassembly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_ipv4_reassembly.py b/tests/TestSuite_ipv4_reassembly.py index 1e9f7f4e..c6b0b227 100644 --- a/tests/TestSuite_ipv4_reassembly.py +++ b/tests/TestSuite_ipv4_reassembly.py @@ -86,7 +86,6 @@ class IpReassemblyTestConfig(object): class TestIpReassembly(TestCase): - # # # @@ -599,6 +598,7 @@ class TestIpReassembly(TestCase): ) try: self.set_tester_iface_mtu(self.test_config.tester_iface, mtu) + self.tester.is_interface_up(self.test_config.tester_iface) self.set_max_num_of_fragments(4) self.compile_example_app() self.execute_example_app() -- 2.31.1