Skip to content

Commit

Permalink
Merge pull request #3398 from nspcc-dev/enforce-testws-close
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Apr 4, 2024
2 parents 22af33a + e5c919f commit 927dbb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/rpcsrv/subscription_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ func initCleanServerAndWSClient(t *testing.T, startNetworkServer ...bool) (*core
}
}
close(readerStopCh)
<-readerToExitCh
ws.Close()
<-readerToExitCh
if len(startNetworkServer) != 0 && startNetworkServer[0] {
rpcSrv.coreServer.Shutdown()
}
Expand Down

0 comments on commit 927dbb6

Please sign in to comment.