aboutsummaryrefslogtreecommitdiffstats
path: root/vm/vm_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-06-28 13:46:53 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-07-01 09:13:47 +0000
commita7b22031cdbe8555ef6d4a086bd11dbc9feea4fd (patch)
treeb678f59c9f269de3f5330a1d8ddf38c6afbb7656 /vm/vm_test.go
parentce1ad06980f78675067a2519a76601cb6cdc692b (diff)
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.
Diffstat (limited to 'vm/vm_test.go')
-rw-r--r--vm/vm_test.go2
1 files changed, 1 insertions, 1 deletions
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