diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-04-22 15:46:17 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-22 13:55:41 +0000 |
| commit | 1c6d9e839c4ff9b99f21312d837cf126a5453b49 (patch) | |
| tree | a4cf400df4965942e4fdbe84fbe632579ca57292 /docs/program_syntax.md | |
| parent | 7c35019920784b8d86f15d0fd5647a18c9b74115 (diff) | |
vm: fix logical race in a test
Currently the inject-error test injects "BUG: foo\n"
and expects VM to fail with this error.
However, the command immidiatly exists, so it may exist
before the output is injected. In that case the test fails with:
=== NAME TestMonitorExecution/inject-error
vm_test.go:431: got no report
Make the command execute for a second so that output
is always injected.
Diffstat (limited to 'docs/program_syntax.md')
0 files changed, 0 insertions, 0 deletions
