diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-01-03 16:16:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-07 10:54:01 +0000 |
commit | 8197d0f638a760fc03062c7a9009117d083d7ead (patch) | |
tree | a4be42cc52ea28a9baed41dee584342fe64a6e3c /meta/lib/oeqa/targetcontrol.py | |
parent | c22b0bf66a28324da66caf0660f171cc279a1f2b (diff) | |
download | openembedded-core-contrib-8197d0f638a760fc03062c7a9009117d083d7ead.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.
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.py | 2 |
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): else: raise bb.build.FuncFailed("%s - FAILED to re-start qemu - check the task log and the boot log" % self.pn) - def run_serial(self, command, timeout=5): + def run_serial(self, command, timeout=60): return self.runner.run_serial(command, timeout=timeout) |