diff options
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rwxr-xr-x | socket_factory_test.go | 7 |
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) |