From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id CBA395F24 for ; Thu, 15 Mar 2018 03:24:22 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2018 19:24:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,308,1517904000"; d="scan'208";a="39021854" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 14 Mar 2018 19:24:20 -0700 From: "zhu,shuai" To: dts@dpdk.org Cc: "zhu,shuai" Date: Thu, 15 Mar 2018 10:25:34 +0800 Message-Id: <1521080734-83104-1-git-send-email-shuaix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/TestSuite_short_live.py:Delay repair on start_up_time. 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: Thu, 15 Mar 2018 02:24:23 -0000 As DPDK will capture signals, " SIGTERM" and "SIGINT", it needs some time to prepare to exit. Signed-off-by: zhu,shuai --- tests/TestSuite_short_live.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py index 62c43a5..238e3ab 100644 --- a/tests/TestSuite_short_live.py +++ b/tests/TestSuite_short_live.py @@ -162,6 +162,7 @@ class TestShortLiveApp(TestCase): self.dut.send_expect("pkill -2 testpmd", "#", 60, True) else: self.dut.send_expect("pkill -15 testpmd", "#", 60, True) + time.sleep(2) def test_clean_up_with_signal_l2fwd(self): repeat_time = 5 -- 1.9.3