summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/targetcontrol.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-01-03 16:16:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-07 10:54:13 +0000
commitfbb390a17ffcc19356246104d693779c438458f0 (patch)
tree96ad179b8dd64a21eb565a51c1847bbbf6d45ccd /meta/lib/oeqa/targetcontrol.py
parent445acdffe0a75bf9ce94c1fc31bebc7c5bd60be8 (diff)
downloadpoky-fbb390a17ffcc19356246104d693779c438458f0.tar.gz
oeqa/utils/qemurunner: set timeout to 60s for run_serial
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. (From OE-Core rev: 8197d0f638a760fc03062c7a9009117d083d7ead) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-rw-r--r--meta/lib/oeqa/targetcontrol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py
index 59a9c35a09..02ea1c037c 100644
--- a/meta/lib/oeqa/targetcontrol.py
+++ b/meta/lib/oeqa/targetcontrol.py
@@ -196,7 +196,7 @@ class QemuTarget(BaseTarget):
196 else: 196 else:
197 raise bb.build.FuncFailed("%s - FAILED to re-start qemu - check the task log and the boot log" % self.pn) 197 raise bb.build.FuncFailed("%s - FAILED to re-start qemu - check the task log and the boot log" % self.pn)
198 198
199 def run_serial(self, command, timeout=5): 199 def run_serial(self, command, timeout=60):
200 return self.runner.run_serial(command, timeout=timeout) 200 return self.runner.run_serial(command, timeout=timeout)
201 201
202 202