mirror of https://github.com/status-im/consul.git
parent
6fd33ba30d
commit
9b497f8c78
|
@ -34,6 +34,7 @@ jobs:
|
|||
- "envoyextensions"
|
||||
- "troubleshoot"
|
||||
- "test/integration/consul-container"
|
||||
- "test-integ"
|
||||
- "testing/deployer"
|
||||
fail-fast: true
|
||||
name: lint ${{ matrix.directory }}
|
||||
|
|
|
@ -196,7 +196,7 @@ func (s *ac7_2RotateLeaderSuite) test(t *testing.T, ct *commonTopo) {
|
|||
func rotateLeader(t *testing.T, cl *api.Client) {
|
||||
t.Helper()
|
||||
oldLeader := findLeader(t, cl)
|
||||
_, err := cl.Operator().RaftLeaderTransfer(nil)
|
||||
_, err := cl.Operator().RaftLeaderTransfer("", nil)
|
||||
require.NoError(t, err)
|
||||
retry.RunWith(&retry.Timer{Timeout: 30 * time.Second, Wait: time.Second}, t, func(r *retry.R) {
|
||||
newLeader := findLeader(r, cl)
|
||||
|
|
Loading…
Reference in New Issue