internal/cmdtest: raise the timeout for killing TestCmd

This commit is contained in:
Janos Guljas 2019-01-10 11:15:10 +01:00 committed by Elad Nachmias
parent fe1ddb0b14
commit 186dd02c3d

View file

@ -227,7 +227,7 @@ func (tt *TestCmd) Kill() {
} }
func (tt *TestCmd) withKillTimeout(fn func()) { func (tt *TestCmd) withKillTimeout(fn func()) {
timeout := time.AfterFunc(5*time.Second, func() { timeout := time.AfterFunc(15*time.Second, func() {
tt.Log("killing the child process (timeout)") tt.Log("killing the child process (timeout)")
tt.Kill() tt.Kill()
}) })