vm: wait more for a test prog execution ending
This commit is contained in:
parent
d551439654
commit
693c376d21
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ func (e *executor) runProg(t *testing.T, commands ...string) {
|
|||
}()
|
||||
select {
|
||||
case <-e.ch:
|
||||
case <-time.After(2 * time.Second):
|
||||
case <-time.After(4 * time.Second):
|
||||
require.Fail(t, "command took too long time")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue