diff options
Diffstat (limited to 'socket_factory_test.go')
-rwxr-xr-x | socket_factory_test.go | 7 |
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) |