summaryrefslogtreecommitdiffhomepage
path: root/server/fsm_test.go
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-15 00:05:11 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-06-15 00:05:11 +0900
commiteb032ff953898bbbb5a95615b2f2117957a3773f (patch)
tree2e67119948a8dbd7817cee0493554a0a86d40b20 /server/fsm_test.go
parent1f5a66a33c485a97ae80688523f526dd945aabc1 (diff)
server: fix unit test
somehow travis-ci didn't catch Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/fsm_test.go')
-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{