From 2f8020c26e3cfd26422288b7ca461349d4844aa4 Mon Sep 17 00:00:00 2001 From: Ekaterina Pavlova Date: Thu, 28 Mar 2024 22:29:15 +0300 Subject: [PATCH] rpcsrv: fix TestFilteredNotaryRequestSubscriptions Add closing of the server, as it does in other subscription tests. Close #3378 Signed-off-by: Ekaterina Pavlova --- pkg/services/rpcsrv/subscription_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/rpcsrv/subscription_test.go b/pkg/services/rpcsrv/subscription_test.go index eed19a3ad..1643ae6c2 100644 --- a/pkg/services/rpcsrv/subscription_test.go +++ b/pkg/services/rpcsrv/subscription_test.go @@ -391,6 +391,7 @@ func TestFilteredNotaryRequestSubscriptions(t *testing.T) { chain, rpcSrv, c, respMsgs, finishedFlag := initCleanServerAndWSClient(t) rpcSrv.coreServer.Start() + defer rpcSrv.coreServer.Shutdown() // blocks are needed to make GAS deposit for priv0 blocks := getTestBlocks(t)