itest: basic failover itest when using leader election on etcd

This commit is contained in:
Andras Banki-Horvath committed 2021-05-04 17:33:12 +02:00
1 parent 5e215a7a66
commit 5d8488871c
7 files changed
+309 -33

No files matched your search

+1 -1
View File
@@ -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),
}