diff options
Diffstat (limited to 'pkg/server/fsm_test.go')
-rw-r--r-- | pkg/server/fsm_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/server/fsm_test.go b/pkg/server/fsm_test.go index cd3eb7e2..ac5ffd7b 100644 --- a/pkg/server/fsm_test.go +++ b/pkg/server/fsm_test.go @@ -311,15 +311,14 @@ func TestCheckOwnASLoop(t *testing.T) { func makePeerAndHandler() (*peer, *fsmHandler) { p := &peer{ - fsm: newFSM(&config.Global{}, &config.Neighbor{}, table.NewRoutingPolicy()), - outgoing: channels.NewInfiniteChannel(), + fsm: newFSM(&config.Global{}, &config.Neighbor{}, table.NewRoutingPolicy()), } h := &fsmHandler{ fsm: p.fsm, stateReasonCh: make(chan fsmStateReason, 2), incoming: channels.NewInfiniteChannel(), - outgoing: p.outgoing, + outgoing: channels.NewInfiniteChannel(), } return p, h |