Fix test TestAddBogusPath

Stop the server in the test.

Signed-off-by: Rinat Baygildin <bayrinat@yandex-team.ru>
This commit is contained in:
Rinat Baygildin
2023-08-07 18:15:44 +03:00
committed by FUJITA Tomonori
parent 2956dd655f
commit eb58efd79c
+1
View File
@@ -1707,6 +1707,7 @@ func TestDeleteVrf(t *testing.T) {
func TestAddBogusPath(t *testing.T) {
ctx := context.Background()
s := runNewServer(t, 1, "1.1.1.1", 10179)
defer s.StopBgp(context.Background(), &api.StopBgpRequest{})
nlri, _ := apb.New(&api.IPAddressPrefix{})