diff options
author | Alistair King <alistair@kentik.com> | 2020-11-04 09:20:27 -0500 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2020-11-06 21:08:55 +0900 |
commit | 01aa3f287bd41a3351396a303e60219b12a15475 (patch) | |
tree | d8a7c080e41ce2b87fcaada138ce05188f94029e | |
parent | 5c979fea68b6000ec5339fe85dfbf21bc3977921 (diff) |
Fix missing args in server tests
-rw-r--r-- | pkg/server/server_test.go | 4 |
1 files 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{ |