[dts] [PATCH V1] give the scapy enought time to exit

lihong lihongx.ma at intel.com
Sun Apr 21 21:17:06 CEST 2019


Signed-off-by: lihong <lihongx.ma at intel.com>
---
 framework/tester.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/tester.py b/framework/tester.py
index 7f469b3..3f71093 100755
--- a/framework/tester.py
+++ b/framework/tester.py
@@ -452,7 +452,7 @@ class Tester(Crb):
 
         sleep(2)
         self.scapyCmds = []
-        self.send_expect("exit()", "# ")
+        self.send_expect("exit()", "# ", timeout)
 
     def scapy_background(self):
         """
-- 
2.7.4



More information about the dts mailing list