From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 52018F94 for ; Tue, 19 Sep 2017 08:36:53 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 18 Sep 2017 23:36:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,416,1500966000"; d="scan'208";a="1220708182" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 18 Sep 2017 23:36:51 -0700 From: "lu,peipei" To: dts@dpdk.org Cc: "lu,peipei" Date: Tue, 19 Sep 2017 14:38:04 +0800 Message-Id: <1505803084-20443-1-git-send-email-peipeix.lu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/shutdown_api: fix stop_restart case failed X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 06:36:53 -0000 some OSes check ports status failed,Here need pause for 5 seconds Signed-off-by: lu,peipei --- tests/TestSuite_shutdown_api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index c497652..f81c3d5 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -195,6 +195,7 @@ class TestShutdownApi(TestCase): self.dut.send_expect("stop", "testpmd> ") self.check_forwarding(received=False) self.dut.send_expect("port stop all", "testpmd> ", 100) + time.sleep(5) self.check_ports(status=False) self.dut.send_expect("port start all", "testpmd> ", 100) time.sleep(5) -- 1.9.3