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:
Roman Khimov 2021-10-22 14:41:37 +03:00 committed by GitHub
commit 6a40365e28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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