diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-06-15 00:05:11 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-06-15 00:05:11 +0900 |
commit | eb032ff953898bbbb5a95615b2f2117957a3773f (patch) | |
tree | 2e67119948a8dbd7817cee0493554a0a86d40b20 /server/fsm_test.go | |
parent | 1f5a66a33c485a97ae80688523f526dd945aabc1 (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.go | 2 |
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{ |