From eb58efd79c9fe578bb2ea10abc04632e484be85c Mon Sep 17 00:00:00 2001 From: Rinat Baygildin Date: Mon, 7 Aug 2023 18:15:44 +0300 Subject: [PATCH] Fix test TestAddBogusPath Stop the server in the test. Signed-off-by: Rinat Baygildin --- pkg/server/server_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/server/server_test.go b/pkg/server/server_test.go index 6acad134..c5c94835 100644 --- a/pkg/server/server_test.go +++ b/pkg/server/server_test.go @@ -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{})