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