From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2EE298E7B for ; Wed, 4 Nov 2015 09:22:45 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 04 Nov 2015 00:22:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,242,1444719600"; d="scan'208";a="842746761" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga002.fm.intel.com with ESMTP; 04 Nov 2015 00:22:43 -0800 From: Lijuan Tu To: dts@dpdk.org Date: Wed, 4 Nov 2015 16:18:20 +0800 Message-Id: <1446625100-39783-1-git-send-email-lijuanx.a.tu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH] add time for scapy exec 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: Wed, 04 Nov 2015 08:22:45 -0000 Signed-off-by: Lijuan Tu --- framework/tester.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/tester.py b/framework/tester.py index 1f4f7ae..851c726 100644 --- a/framework/tester.py +++ b/framework/tester.py @@ -367,12 +367,12 @@ class Tester(Crb): if self.bgProcIsRunning: self.send_expect('subprocess.call("scapy -c sniff.py &", shell=True)', ">>> ") self.bgProcIsRunning = False - sleep(2) + sleep(10) for cmd in self.scapyCmds: self.send_expect(cmd, ">>> ", timeout) - sleep(2) + sleep(10) self.scapyCmds = [] self.send_expect("exit()", "# ") -- 1.9.3