From a418f77a2297bda236ced2cde5fa04f0184f3aaa Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 26 Nov 2020 13:40:27 +0300 Subject: Increase SpawnWorker timeout in the SocketFailboot test --- socket_factory_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/socket_factory_test.go b/socket_factory_test.go index 3663bf89..ab6927bd 100755 --- a/socket_factory_test.go +++ b/socket_factory_test.go @@ -305,7 +305,7 @@ func Test_Unix_Failboot(t *testing.T) { cmd := exec.Command("php", "tests/failboot.php") - w, err := NewSocketServer(ls, time.Second*1).SpawnWorkerWithContext(ctx, cmd) + w, err := NewSocketServer(ls, time.Second*5).SpawnWorkerWithContext(ctx, cmd) assert.Nil(t, w) assert.Error(t, err) assert.Contains(t, err.Error(), "failboot") -- cgit v1.2.3