vm: wait more for a test prog execution ending

This commit is contained in:
Anna Shaleva 2021-10-22 12:14:37 +03:00
parent d551439654
commit 693c376d21

View file

@ -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")
}
}