forked from TrueCloudLab/neoneo-go
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>
This commit is contained in:
parent
86f16bb931
commit
2f8020c26e
1 changed files with 1 additions and 0 deletions
|
@ -391,6 +391,7 @@ func TestFilteredNotaryRequestSubscriptions(t *testing.T) {
|
||||||
|
|
||||||
chain, rpcSrv, c, respMsgs, finishedFlag := initCleanServerAndWSClient(t)
|
chain, rpcSrv, c, respMsgs, finishedFlag := initCleanServerAndWSClient(t)
|
||||||
rpcSrv.coreServer.Start()
|
rpcSrv.coreServer.Start()
|
||||||
|
defer rpcSrv.coreServer.Shutdown()
|
||||||
|
|
||||||
// blocks are needed to make GAS deposit for priv0
|
// blocks are needed to make GAS deposit for priv0
|
||||||
blocks := getTestBlocks(t)
|
blocks := getTestBlocks(t)
|
||||||
|
|
Loading…
Reference in a new issue