Merge branch 'main' of git-ssh.tornberg.me:mats/go-cart-actor into test/net-pool
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net"
|
||||
"testing"
|
||||
|
||||
@@ -32,8 +33,7 @@ func TestGenericConnection(t *testing.T) {
|
||||
return nil
|
||||
})
|
||||
listener.AddHandler(3, func(input *FrameWithPayload, resultChan chan<- FrameWithPayload) error {
|
||||
resultChan <- MakeFrameWithPayload(2, 200, datta)
|
||||
return nil //fmt.Errorf("Error")
|
||||
return fmt.Errorf("Error in custom handler")
|
||||
})
|
||||
r, err := conn.Call(1, datta)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user