From a7b22031cdbe8555ef6d4a086bd11dbc9feea4fd Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 28 Jun 2024 13:46:53 +0200 Subject: vmimpl: add a delay after an error from the tracked process It usually means a kernel crash, in which case we want to give the kernel some more time to print the whole coverage report to the console. --- vm/vm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/vm_test.go') diff --git a/vm/vm_test.go b/vm/vm_test.go index afb8634bd..357f037d5 100644 --- a/vm/vm_test.go +++ b/vm/vm_test.go @@ -75,7 +75,7 @@ func (inst *testInstance) Close() { func init() { beforeContextDefault = maxErrorLength + 100 tickerPeriod = 1 * time.Second - waitForOutputTimeout = 3 * time.Second + vmimpl.WaitForOutputTimeout = 3 * time.Second ctor := func(env *vmimpl.Env) (vmimpl.Pool, error) { return &testPool{}, nil -- cgit mrf-deployment