summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-14 23:08:56 +0300
committerValery Piashchynski <[email protected]>2020-12-14 23:08:56 +0300
commit9cc8aef1f64f21d7238a3234df98657289a75db5 (patch)
tree51bc6c1d0f27be7bf85b2fde484471888203f9ce
parentfd0818ef7a8735f5ea3810eb8e0def5f7caae381 (diff)
Remove debug code, increase CI timeout to 30 minutes
-rw-r--r--.github/workflows/build.yml2
-rwxr-xr-xsocket_factory_test.go7
2 files changed, 1 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 685aed7a..e24fb764 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,7 +8,7 @@ jobs:
golang:
name: Build (Go ${{ matrix.go }}, PHP ${{ matrix.php }}, OS ${{matrix.os}})
runs-on: ${{ matrix.os }}
- timeout-minutes: 20
+ timeout-minutes: 30
strategy:
fail-fast: false
matrix:
diff --git a/socket_factory_test.go b/socket_factory_test.go
index 9c764ead..bbe8cc31 100755
--- a/socket_factory_test.go
+++ b/socket_factory_test.go
@@ -2,7 +2,6 @@ package roadrunner
import (
"context"
- "fmt"
"net"
"os/exec"
"sync"
@@ -210,12 +209,6 @@ func Test_Tcp_Broken(t *testing.T) {
t.Fatal(err)
}
- sw.AddListener(func(event interface{}) {
- if ev, ok := event.(WorkerEvent); ok {
- fmt.Println(string(ev.Payload.([]byte)))
- }
- })
-
res, err := sw.Exec(Payload{Body: []byte("hello")})
assert.Error(t, err)
assert.Nil(t, res.Body)