summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/fsm_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/fsm_test.go b/server/fsm_test.go
index f175d4b5..519a2382 100644
--- a/server/fsm_test.go
+++ b/server/fsm_test.go
@@ -291,7 +291,7 @@ func TestFSMHandlerEstablished_HoldtimeZero(t *testing.T) {
func makePeerAndHandler() (*Peer, *FSMHandler) {
p := &Peer{
fsm: NewFSM(&config.Global{}, &config.Neighbor{}, table.NewRoutingPolicy()),
- outgoing: make(chan *FsmOutgoingMsg, 4096),
+ outgoing: channels.NewInfiniteChannel(),
}
h := &FSMHandler{