diff --git a/rpctest/rpc_harness.go b/rpctest/rpc_harness.go index 9b53ed95..6fba7fc7 100644 --- a/rpctest/rpc_harness.go +++ b/rpctest/rpc_harness.go @@ -44,7 +44,7 @@ var ( // It should be noted however that there is still some small probability // that there will be port collisions either due to other processes // running or simply due to the stars aligning on the process IDs. - processID = os.Getppid() + processID = os.Getpid() // testInstances is a private package-level slice used to keep track of // all active test harnesses. This global can be used to perform