Compare commits

...

1 commit

Author SHA1 Message Date
Ekaterina Pavlova
2f8020c26e rpcsrv: fix TestFilteredNotaryRequestSubscriptions
Add closing of the server, as it does in other subscription tests.

Close #3378

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-03-29 09:31:27 +03:00

View file

@ -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)