From 01aa3f287bd41a3351396a303e60219b12a15475 Mon Sep 17 00:00:00 2001 From: Alistair King Date: Wed, 4 Nov 2020 09:20:27 -0500 Subject: Fix missing args in server tests --- pkg/server/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/server/server_test.go b/pkg/server/server_test.go index 39b10657..43d3dbf3 100644 --- a/pkg/server/server_test.go +++ b/pkg/server/server_test.go @@ -581,7 +581,7 @@ func TestMonitor(test *testing.T) { } // Test WatchUpdate with "current" flag. - w = s.watch(watchUpdate(true)) + w = s.watch(watchUpdate(true, "")) // Test the initial route. ev = <-w.Event() @@ -1288,7 +1288,7 @@ func TestDoNotReactToDuplicateRTCMemberships(t *testing.T) { if err := peerServers(t, ctx, []*BgpServer{s1, s2}, []config.AfiSafiType{config.AFI_SAFI_TYPE_L3VPN_IPV4_UNICAST, config.AFI_SAFI_TYPE_RTC}); err != nil { t.Fatal(err) } - watcher := s1.watch(watchUpdate(true)) + watcher := s1.watch(watchUpdate(true, "")) // Add route to vrf1 on s2 attrs := []bgp.PathAttributeInterface{ -- cgit v1.2.3