aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/qemutinyrunner.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-01-03 16:09:05 +0800
committerRobert Yang <liezhi.yang@windriver.com>2019-01-03 16:12:32 +0800
commitca03a4591117aea193d7cbb9cee11ef7cd92a503 (patch)
tree6e11aa26ef7755378ece8e9acfe956f36048b6af /meta/lib/oeqa/utils/qemutinyrunner.py
parentcaa776bdcf8ea34c857f45970370bf771075f4bc (diff)
downloadopenembedded-core-contrib-rbt/time.tar.gz
openembedded-core-contrib-rbt/time.tar.bz2
openembedded-core-contrib-rbt/time.zip
oeqa/utils/qemurunner: set timeout to 60s for run_serialrbt/time
The 5s timeout for non-kvm is too short, especially when the load is high, which leads to unexpected errors, so set timeout to 60s by default. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/lib/oeqa/utils/qemutinyrunner.py')
-rw-r--r--meta/lib/oeqa/utils/qemutinyrunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/qemutinyrunner.py b/meta/lib/oeqa/utils/qemutinyrunner.py
index 63b5d1648b..5aa99d0686 100644
--- a/meta/lib/oeqa/utils/qemutinyrunner.py
+++ b/meta/lib/oeqa/utils/qemutinyrunner.py
@@ -108,7 +108,7 @@ class QemuTinyRunner(QemuRunner):
return self.is_alive()
- def run_serial(self, command, timeout=5):
+ def run_serial(self, command, timeout=60):
self.server_socket.sendall(command+'\n')
data = ''
status = 0