mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-26 19:42:23 +00:00
Merge pull request #2226 from nspcc-dev/fix-vm-cli-test
vm: wait more for a test prog execution ending
This commit is contained in:
commit
6a40365e28
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ func (e *executor) runProg(t *testing.T, commands ...string) {
|
||||||
}()
|
}()
|
||||||
select {
|
select {
|
||||||
case <-e.ch:
|
case <-e.ch:
|
||||||
case <-time.After(2 * time.Second):
|
case <-time.After(4 * time.Second):
|
||||||
require.Fail(t, "command took too long time")
|
require.Fail(t, "command took too long time")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue