[dts] [PATCH] add time for scapy exec

Lijuan Tu lijuanx.a.tu at intel.com
Wed Nov 4 09:18:20 CET 2015


Signed-off-by: Lijuan Tu <lijuanx.a.tu at intel.com>
---
 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



More information about the dts mailing list