summaryrefslogtreecommitdiffhomepage
path: root/server/server_test.go
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2017-02-13 06:30:58 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-02-15 00:10:15 +0900
commit52356c26f821fdebb3fdf943a1b898a2d1b4d0db (patch)
tree0ebe5f222851168489f9118eeb77f71547d5ccb6 /server/server_test.go
parentf276279bf6d90b3f5940bc63780cc3483e9d734e (diff)
server: add a current option to WatchBestPath()
also, use it for zebra integration Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'server/server_test.go')
-rw-r--r--server/server_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/server_test.go b/server/server_test.go
index 73eadb0a..5e0dc5e0 100644
--- a/server/server_test.go
+++ b/server/server_test.go
@@ -113,7 +113,7 @@ func TestMonitor(test *testing.T) {
}
}
- w := s.Watch(WatchBestPath())
+ w := s.Watch(WatchBestPath(false))
attrs := []bgp.PathAttributeInterface{
bgp.NewPathAttributeOrigin(0),