From 186dd02c3d8becbd9e652ed849364a8184bfc443 Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Thu, 10 Jan 2019 11:15:10 +0100 Subject: [PATCH] internal/cmdtest: raise the timeout for killing TestCmd --- internal/cmdtest/test_cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cmdtest/test_cmd.go b/internal/cmdtest/test_cmd.go index f8b1b43c01..59c276f30c 100644 --- a/internal/cmdtest/test_cmd.go +++ b/internal/cmdtest/test_cmd.go @@ -227,7 +227,7 @@ func (tt *TestCmd) Kill() { } 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.Kill() })