tests: Remove RPC wording from the code (#14142)

The lock was using net/rpc in the past but it got replaced with a REST API. 
This commit will fix function names/comments to avoid confusion.
This commit is contained in:
Anis Elleuch
2022-01-20 18:36:09 +01:00
committed by GitHub
parent 9d588319dd
commit 3e9bd931ed
3 changed files with 36 additions and 36 deletions

View File

@@ -148,13 +148,13 @@ func (lh *lockServerHandler) RLockHandler(w http.ResponseWriter, r *http.Request
}
}
func stopRPCServers() {
func stopLockServers() {
for i := 0; i < numberOfNodes; i++ {
nodes[i].Close()
}
}
func startRPCServers() {
func startLockServers() {
for i := 0; i < numberOfNodes; i++ {
lsrv := &lockServer{
mutex: sync.Mutex{},