itest: basic failover itest when using leader election on etcd
This commit is contained in:
7 files changed
+309
-33
No files matched your search
@@ -37,7 +37,7 @@ type feeEstimates struct {
|
||||
|
||||
// startFeeService spins up a go-routine to serve fee estimates.
|
||||
func startFeeService() *feeService {
|
||||
port := nextAvailablePort()
|
||||
port := NextAvailablePort()
|
||||
f := feeService{
|
||||
url: fmt.Sprintf("http://localhost:%v/fee-estimates.json", port),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user