summaryrefslogtreecommitdiff
path: root/socket_factory_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-11-26 13:40:27 +0300
committerValery Piashchynski <[email protected]>2020-11-26 13:40:27 +0300
commita418f77a2297bda236ced2cde5fa04f0184f3aaa (patch)
tree7fa70c6d8366144ef7429841cc89d16160e6ba6f /socket_factory_test.go
parent09f9a0d001f1249af24373d9f207d485e4a9abb2 (diff)
Increase SpawnWorker timeout in the SocketFailboot test
Diffstat (limited to 'socket_factory_test.go')
-rwxr-xr-xsocket_factory_test.go2
1 files changed, 1 insertions, 1 deletions
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")