diff options
Diffstat (limited to 'server/peer_test.go')
-rw-r--r-- | server/peer_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/peer_test.go b/server/peer_test.go index eaea842a..4f310512 100644 --- a/server/peer_test.go +++ b/server/peer_test.go @@ -57,7 +57,7 @@ func update_fromRC3() *bgp.BGPMessage { } func TestProcessBGPUpdate_fourbyteAS(t *testing.T) { - rib1 := table.NewTableManager() + rib1 := table.NewTableManager("peer_test") m := update_fromRC3() peerInfo := peerRC3() @@ -81,7 +81,7 @@ func TestProcessBGPUpdate_fourbyteAS(t *testing.T) { assert.Equal(t, len(attrAS.Value), 1) assert.Equal(t, attrAS.Value[0].(*bgp.AsPathParam).AS, []uint16{bgp.AS_TRANS, 4000, bgp.AS_TRANS}) - rib2 := table.NewTableManager() + rib2 := table.NewTableManager("peer_test") pList2, wList2, _ := rib2.ProcessPaths(pathList) assert.Equal(t, len(pList2), 1) assert.Equal(t, len(wList2), 0) |