Skip to content

Commit

Permalink
rpcsrv: fix TestFilteredNotaryRequestSubscriptions
Browse files Browse the repository at this point in the history
Add closing of the server,as it does in others subscription tests.

Close #3378

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
  • Loading branch information
AliceInHunterland committed Mar 29, 2024
1 parent 86f16bb commit e3adaac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/services/rpcsrv/subscription_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e3adaac

Please sign in to comment.