summaryrefslogtreecommitdiff
path: root/socket_factory_test.go
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 /socket_factory_test.go
parentfd0818ef7a8735f5ea3810eb8e0def5f7caae381 (diff)
Remove debug code, increase CI timeout to 30 minutes
Diffstat (limited to 'socket_factory_test.go')
-rwxr-xr-xsocket_factory_test.go7
1 files changed, 0 insertions, 7 deletions
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)