From a0234d980eccaa87f5821ac8e95ed9c94a104acf Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 5 Jan 2021 10:25:56 +0100 Subject: vm: scale "wait for output" timeout Significant portion of oopses with qemu emulation gets truncated. Hard to say if we don't wait long enough or there is something else, but scaling "wait for output" timeout seems reasonable regardless. --- vm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/vm.go b/vm/vm.go index 541096ba0..0c40ba2f3 100644 --- a/vm/vm.go +++ b/vm/vm.go @@ -323,7 +323,7 @@ func (mon *monitor) createReport(defaultError string) *report.Report { } func (mon *monitor) waitForOutput() { - timer := time.NewTimer(waitForOutputTimeout) + timer := time.NewTimer(waitForOutputTimeout * mon.inst.timeouts.Scale) defer timer.Stop() for { select { -- cgit mrf-deployment