From fbb390a17ffcc19356246104d693779c438458f0 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 3 Jan 2019 16:16:32 +0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/lib/oeqa/utils/qemutinyrunner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oeqa/utils/qemutinyrunner.py') 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 -- cgit v1.2.3-54-g00ecf