test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] framework ssh_pexpect: add timeout to avoid file uncomplete during scp file from host to VM
@ 2016-12-16  6:53 Yao Lei
  2016-12-19  2:50 ` Liu, Yong
  0 siblings, 1 reply; 6+ messages in thread
From: Yao Lei @ 2016-12-16  6:53 UTC (permalink / raw)
  To: dts; +Cc: lei yao

From: lei yao <lei.a.yao@intel.com>

Signed-off-by: lei yao <lei.a.yao@intel.com>
---
 framework/ssh_pexpect.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/ssh_pexpect.py b/framework/ssh_pexpect.py
index d5b6616..09095a1 100644
--- a/framework/ssh_pexpect.py
+++ b/framework/ssh_pexpect.py
@@ -185,6 +185,7 @@ class SSHPexpect(object):
         if i == 1:
             time.sleep(0.5)
             p.sendline(password)
+            time.sleep(10)
             p.expect("100%", 60)
         if i == 4:
             self.logger.error("SCP TIMEOUT error %d" % i)
-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-19  3:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-16  6:53 [dts] [PATCH V1] framework ssh_pexpect: add timeout to avoid file uncomplete during scp file from host to VM Yao Lei
2016-12-19  2:50 ` Liu, Yong
2016-12-19  3:15   ` Yao, Lei A
2016-12-19  3:24     ` Liu, Yong
2016-12-19  3:30       ` Yao, Lei A
2016-12-19  3:50         ` Liu, Yong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).